亚洲午夜无码久久,今天高清视频免费观看,欧美一夜爽爽爽爽爽爽,在线亚洲欧美日韩精品专区

行業(yè)資訊

  • 首頁
  • 新聞中心
  • 行業(yè)資訊

Bash漏洞檢測及解決方案-宇眾網(wǎng)絡(luò)服務(wù)器銷售


2020年11月05日

一、檢測方法

1、redhat、centos 運(yùn)行命令: $ env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

2.debian、ubuntu 運(yùn)行命令: $ sudo env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

如果返回以下內(nèi)容:則請盡快升級。 vulnerable this is test

二、解決方案—升級bash

1、redhat、centos 運(yùn)行:

#yum clean all
#yum -y update bash

2.debian、ubuntu 運(yùn)行: $sudo apt-get update $sudo apt-get upgrade

最后測試(以ubuntu為例):

test@bogon:~$ sudo env x="() { :;}; echo vulnerable" bash -c "echo this is test"
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is test

返回以上內(nèi)容表示已升級成功

宇眾網(wǎng)絡(luò)yelaoxs.com高防服務(wù)器


客服