linux升级补丁tar,Linux下Bash严重漏洞补丁升级方法

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 https://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz

tar zxf bash-4.3.tar.gz ; cd bash-4.3

wget -r -nd -np https://ftp.gnu.org/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: 中国

3211c715c0bf352c3fa72980bf0cc419.png

Your current browser is:

b2cb575f9cbd2e36961b3bf406c3355c.png

Your current system is:

mac.png

Original content, please indicate the source:

同福客栈论坛 | 蟒蛇科普 | 海南乡情论坛 | JiaYu Blog

sicnature ---------------------------------------------------------------------

Welcome to reprint. Please indicate the source https://www.myzhenai.com/post/1883.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值