Endolum CTF - integer-overflow

Difficulty: easy Category : pwn Author : xnull Description : ### Integer Overflow Shop This shop sells flags for 1000 coins each. You only have 500 coins in your wallet. Can you exploit an integer overflow to buy the flag anyway? **Access:** Connect to the binary with `ncat --ssl [host] [port]` or use pwntools. Solution We can use the max. signed 64-bit integer divided by the cost (…