Challenges › Binary Exploitation
Find the Useful Leak
easy · 50 XP · flag · free · solves: 0
A small program called find-the-useful-leak echoes whatever single line you send it. checksec shows NX enabled, no stack canary, no PIE, and partial RELRO.
The echo is not safe: your input becomes the format string in a printf call. A secret value exists elsewhere in the program and is reachable as one of that call's arguments. Use a positional format specifier to read it out directly.
Submit the flag you disclose.
Tags: learn
Try next
- Memory It Should Not Show (easy)
- Map Every Jump (easy)
- Trace the Crash (easy)