博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
bash 的漏洞,你们中招了吗?
阅读量:6998 次
发布时间:2019-06-27

本文共 344 字,大约阅读时间需要 1 分钟。

检测:

$ env x='(){:;}; echo vulnerable' bash -c "echo this is a test"

 

中招的显示:

vulnerablethis is a test

 

如果是没有问题,则是下面

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

 

转载于:https://www.cnblogs.com/wpjamer/p/3993074.html

你可能感兴趣的文章