This commit is contained in:
2023-11-24 22:18:10 +01:00
parent 43943fc1ea
commit 0eb80f8965
7 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
from pwn import *
elf = ELF(os.getcwd() + "/0d2dd2de6fc66a1b0e38dc299e38e0da")
gs = '''
unset env LINES
unset env COLUMNS
set follow-fork-mode child
br *handle_conn+631
# br *main+420
continue
'''
def start():
if args.GDB:
return gdb.debug([elf.path], gs)
else:
return process([elf.path])
io = start()
io.sendline()