漏洞检测命令:env x='() { :;}; echo vulnerable’ bash -c “echo this is a test”
输出:
vulnerable
this is a test
说明你中招了!
修补方法:
CentOS Redhat ↓
yum clean all
yum makecache
yum -y update bash
Ubuntu debian ↓
apt-get update
apt-get -y install –only-upgrade bash
转载请注明:刘维的博客 » Linux Bash/ShellShock 漏洞修复