pwneasy

Казино (Casino)

hackerlab

Task: a PIE slot-machine binary reads 0x8c bytes into a 0x70-byte stack buffer in main(), letting adjacent local integers control the prize-selection bounds. Solution: overflow those locals to set max=1000000 and min=-1, force the special flag prize, then wait for the animation and let print_flag() read the flag from the environment.

$ ls tags/ techniques/
adjacent_stack_variable_overwritelogic_bypass

🔒

Permission denied (requires tier.pro)

Sign in to access full writeups

Create a free account with GitHub to get started.

$ssh [email protected]