Slot Machine — DalCTF 2026

A textbook ret2win: gets() into a 32-byte stack buffer with no canary and no PIE lets us overwrite the saved return address with jackpot(); the only twist is closing stdin to force the menu loop’s EOF break so the corrupted return fires.

June 7, 2026 · 7 min · 1447 words · Th3B0yWh0L1v3d