env t='() { :;}; echo You are vulnerable.' bash -c "true"
在终端命令行中运行以上代码,如果提示“You are vulnerable”,请马上打上被丁.
Ubuntu or Debian 请执行
apt-get update -y
apt-get upgrade -y
RedHat, CentOS or Fedora 请执行
yum clean all
yum -y update bash
yum update -y
编译升级bash
wget /gnu/bash/bash-4.3.tar.gz
tar zxf bash-4.3.tar.gz ; cd bash-4.3
wget -r -nd -np /gnu/bash/bash-4.3-patches/
for BP in `ls bash43-*|grep -v sig`; do patch -p0 < $BP; done
./configure
make && make install
sicnature ---------------------------------------------------------------------
Your current IP address is: 119.116.125.79
Your IP address location: 辽宁省鞍山市联通
Your IP address country and region: 中国
Your current browser is:
Your current system is:
Original content, please indicate the source:
同福客栈论坛 | 蟒蛇科普 | 海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source /post/1883.html