最近bash漏洞在网上闹得沸沸扬扬的,我也修补一下,以防万一。
需要用到的命令:
查看操作形同版本:cat /etc/issue
查看操作系统是64位还是32位:sudo uname --m
查看bash版本:bash -version
需要修复的ubuntu版本及bash版本:
ubuntu 14.04 kylin (4.3.11) 64bit
ubuntu...
分类:
其他好文 时间:
2014-09-30 22:08:50
阅读次数:
237
Vbird Linux:Vim Learning:http://linux.vbird.org/linux_basic/0310vi.phpBash Shell:http://linux.vbird.org/linux_basic/0320bash.phpKey words of reminder:...
分类:
其他好文 时间:
2014-09-30 21:17:00
阅读次数:
172
pimpl idiom
flyfish 2014-9-30
pimpl是Pointer to implementation的缩写
为什么要使用pimpl
1最小化编译依赖
2接口与实现分离
3可移植
pimpl idiom也被称作Cheshire Cat , Compiler Firewall idiom.,d-pointer
这个技术在设计模式中作为桥接模式(Brid...
分类:
其他好文 时间:
2014-09-30 19:29:39
阅读次数:
199
在Linux环境下工作,大部分时间都是在与终端打交道,经常会遇到要查看某个文件,比如一个图片或者一个word文档(不能在终端中直接查看的)。这时 通常的做法是切换到gui界面,到文件所在的目录,双击想打开的文件。另外一种方法是直接在shell中输入指定的程序打开文件,比如: evince xx.pd...
分类:
其他好文 时间:
2014-09-30 19:22:19
阅读次数:
146
ipc$空连接使用目录 :一 前言二 什么是ipc$三 什么是空会话四 空会话可以做什么五 ipc$连接所使用的端口六 ipc$连接在hack攻击中的意义七 ipc$连接失败的常见原因八 复制文件失败的原因九 如何打开目标的IPC$共享以及其他共享十 一些需要shell才能完成的命令十一 入侵中可能...
分类:
其他好文 时间:
2014-09-30 18:54:49
阅读次数:
251
月份出错可能影响shell脚本运行,还是改一下。
1
zxw@hostUbuntu1:~$ ifconfig
eth0 Link encap:浠ュお缃 纭欢鍦板潃 00:0c:29:fb:c0:4c
inet 鍦板潃: 骞挎挱: 鎺╃爜:255.255.255.0
inet6 鍦板潃: fe80::20c:29ff:fefb...
分类:
其他好文 时间:
2014-09-30 18:36:19
阅读次数:
271
1.安装如下组件sudo apt-get install如下组件:build-essential gobjc gobjc++ gnustep-devel 2.在工作目录建立下如Shell脚本,并更改文件权限为可执行.objcc.sh#!/usr/bin/env bashgcc $1.m `gnus....
分类:
其他好文 时间:
2014-09-30 17:55:59
阅读次数:
144
dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P
分类:
其他好文 时间:
2014-09-30 17:45:59
阅读次数:
220
1、查看当前控制台的打印级别cat /proc/sys/kernel/printk4 4 1 7其中第一个“4”表示内核打印函数printk的打印级别,只有级别比他高的信息才能在控制台上打印出来,既 0-3级别的信息2、修改打印echo "新的打印级别 4 1 7" >/proc/sys/kern....
分类:
其他好文 时间:
2014-09-30 16:21:19
阅读次数:
181
type command -env x='() { :;}; echo vulnerable' bash -c 'echo hello'in your terminal.if your system is vulnerable then above command will return outpu...
分类:
其他好文 时间:
2014-09-30 15:28:59
阅读次数:
152