Skip to content

Miscmedium

Printf Ate the Stack

300 points · 0 solved

printf(name) with no format string leaks stack words. Supplying %p.%p.%p.%p.%p printed:

0x6174737b6f647573 0x736c6c65745f6b63 0x007d73656c61745f

Each word is 8 little-endian bytes of ASCII.

Hints0/2

Learn the technique/learn/c-systems-programming