### 今天你们都在修复bash漏洞吧,我抽空也离线升级了几台,以下操做:centos
一、测试是否须要升级bash
# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" #显示以下,须要升级服务器
vulnerable
ide
this is a test测试
二、离线升级this
### 好多服务器不能出外网,只能下载了升级了spa
# wget http://mirror.centos.org/centos/6/updates/x86_64/Packages/bash-4.1.2-15.el6_5.1.x86_64.rpm orm
# rpm -Uvh bash-4.1.2-15.el6_5.1.x86_64.rpmget
# /sbin/ldconfig # 不执行也生效it
# rpm -qa bash # 查看升级后的版本
# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" # 显示以下,升级成功
bash : warning : x : ignoring function definition attempt
bash : error importing function definition for ` x '
this is a test
三、传说……
### 最新消息,说是升级了还能够绕路过去,坐等消息,继续关注中……