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

Recipe for Disaster — GPN CTF 2026

A food-ordering binary reads chef notes with gets() into a buffer sitting in front of an int price field, letting an overflow set a negative price that makes the order total negative and prints /flag.

June 5, 2026 · 2 min · 365 words · Th3B0yWh0L1v3d