RE: Format String Exploitation Question 03-01-2014, 10:12 PM
#3
(03-01-2014, 10:10 PM)w00t Wrote: Yes, the 25 As were to fill the stack. You can tell how much you need to fill by looking at the disassembly of that function, and seeing how much space is allocated on the stack.
The address is backwards because most processors are little-endian, meaning the least significant byte goes first. So, 0xdeadbeef becomes \xef\xbe\xad\xde
I had a feeling you'd be the first to help, thanks a lot w00t!
So, when I disassemble, where do I look to find out how much I need to fill the stack?
Unleash the lead from my pistol into my head bumpin' crystal