Originally posted by administrator
View Post





root@placid:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
this is a test
root@tyrant:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable
vulnerable
this is a test
root@tyrant:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
root@chill:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
this is a test
root@chill:~# 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
root@placid:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
this is a test
root@tyrant:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable
vulnerable
this is a test
root@tyrant:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
root@chill:~# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
this is a test
root@chill:~# 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


Comment