angr solved

This commit is contained in:
2023-09-12 12:38:38 +02:00
parent c0dbb0e7a2
commit 17e4bddf72
8 changed files with 74 additions and 7 deletions

View File

@@ -0,0 +1 @@
FLAG

View File

@@ -0,0 +1,25 @@
from pwn import *
elf = ELF(os.getcwd() + "/web")
gs = '''
unset env LINES
unset env COLUMNS
set follow-fork-mode child
br *handle_conn+64
continue
'''
def start():
if args.GDB:
return gdb.debug([elf.path], gs=gs)
else:
return process([elf.path])
io = start()
sender = remote("localhost", 5000)
sender.send(cyclic(2000))
sender.interactive()
io.interactive()

Binary file not shown.