bash漏洞测试

1.如果比较老的系统,需要注意shell的版本太低,有漏洞,需要升级shell

[root@nginx ~]# yum -y update shell

2.验证方法

[root@nginx rules.d]# env x='() { :;}; echo be careful' bash -c "echo this is a test"
this is a test  ##正常

3.需要升级返回两行

be careful
this is a test

 

 

 

 

 

0
如无特殊说明,文章均为本站原创,转载请注明出处
  • 转载请注明来源:bash漏洞测试
  • 本文永久链接地址:https://www.xionghaier.cn/archives/67.html

该文章由 发布

这货来去如风,什么鬼都没留下!!!
发表我的评论

Hi,请填写昵称和邮箱!

取消评论
代码 贴图 加粗 链接 删除线 签到