#coding=utf-8 from pwn import * debug = 0 elf = ELF('./pwn') #nc 39.97.210.182 40285 p = remote('39.97.210.182',40285)
defcount(): bstr = p.recvuntil('Math: ') mathstr = p.recvuntil('=',drop=True) result = eval(mathstr) p.sendline(str(result)) for i in range(200): count() print(i)