检测:env x='() { :;}; echo vulnerable’ bash -c “echo this is a test”
UBuntu修复:
apt-get update
apt-get install bash
修复之后:
env x='() { :;}; echo vulnerable’ bash -c “echo this is a test” bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x’ this is a test