Red Hat Enterprise Linux Server release 5.2 shellshock

env MYECHINESE='() { echo 1; }; echo 2' bash -c MYECHINESE
env x='() { :;}; echo vulnerable' bash -c 'echo hello'
wget http://***/bash-3.2-33.el5_11.4.i386.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-*
rpm -Uvh bash-3.2-33.el5_11.4.i386.rpm 
env MYECHINESE='() { echo 1; }; echo 2' bash -c MYECHINESE
env x='() { :;}; echo vulnerable' bash -c 'echo hello'

发表评论

电子邮件地址不会被公开。 必填项已用*标注