import sys; sys.path.append("../..")
import shared_pwn
from pwn import *

BINARY_NAME = ""
BUFFER_LEN = 0

junk = b"\x90" * BUFFER_LEN

# Pointers
# pointer = p32(0x90)
# pointer = p64(0x90)

# Payload creation
payload = b""
payload += junk

io = process(f"./{BINARY_NAME}")
io.recvuntil("> ")
io.sendline(payload)

shared_pwn._recvall(io)
# sys.stdout.buffer.write(payload)