You must create a flag.txt in the same folder as the binary for it to run.
nc ctf.b01lers.com 9203
sym.casino ask for a 4 byte string using
gets, then it compare with a random string generate by
If we enter the same string as the random one, we get certain amount of money. If we have more than 1000 in balance, the program will print out the flag
│ ; var signed int64_t var_1ch @ rbp-0x1c
gets, so we can overwrite s1 by s2. so that we can make s2 and s1 same.
from pwn import *