Reply To: 27 Sept 14 – Shellshock, the Bash Bug, affects us all

Home Forums The Poll Discussion 27 Sept 14 – Shellshock, the Bash Bug, affects us all Reply To: 27 Sept 14 – Shellshock, the Bash Bug, affects us all

#2776

Christian
Participant

From the link, here’s a script to check your copy of BASH.

env 'x=() { :;}; echo vulnerable' 'BASH_FUNC_x()=() { :;}; echo vulnerable' bash -c "echo test"

If the output of the above command contains a line containing only the word vulnerable you are using a vulnerable version of Bash.