Skip to content
Snippets Groups Projects
Commit 1706c2e2 authored by dex's avatar dex
Browse files

fix template

parent 5264bf46
No related branches found
No related tags found
No related merge requests found
......@@ -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()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment