$ 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