Tags: buffer overflow pwn 

Rating:

Do you think you can make this program jump to somewhere it isn't supposed to? Where we're going we don't need buffers!
/home/profit/ on the shell.




Note that I made this after the competition had ended using a friends shell account as I didn't do it during the competition with my own credentials. As such he hasĀ  peda added to gdb installed. I don't remember peda being installed when I solved it so I wrote the guide with that in mind, sticking to standard gdb commands. The peda output helps clarify the idea though so I left it in the pastes.

- nullp0inter

Original writeup (https://github.com/WCSC/writeups/tree/master/icectf-2016/Smashing-Profit).