Mania
Use-after-free on a tcache chunk to overwrite a function pointer and call win().
No writeups match your filter.
Use-after-free on a tcache chunk to overwrite a function pointer and call win().
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.