Challenges › Binary Exploitation

Trace the Crash

easy · 50 XP · flag · free · solves: 0

A small program called trace-the-crash asks for your name, then prints a greeting. checksec shows NX disabled, no stack canary, no PIE, and partial RELRO.

Download it, make it runnable with chmod +x trace-the-crash, and give it a long name. Use a cyclic pattern to find the exact offset to the saved return address, then redirect execution to the existing win() function instead of returning normally.

Submit the flag win() prints.

Tags: learn

Try next