Skip to content

Instantly share code, notes, and snippets.

@Stolas
Last active September 25, 2015 13:15
Show Gist options
  • Save Stolas/aeecdc072af9522ac622 to your computer and use it in GitHub Desktop.
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!
#!/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