Giter VIP home page Giter VIP logo

fuzzer's Introduction

This is a Fuzzer which scans ports at a target web address to look for open web services, and reports its findings to the console. It does so by sending HTTP requests to a sequence of ports at the target.

This program was developed using Python 2.7.9, but will likely run with any version of Python in the 2.6+ family.

It can either scan all ports (0-65535) or the ports you specify in a ports.txt file. An example ports.txt is provided in this directory. The system expects ports to be in the format of one-per-line like this:

8888

21

22

122

EXAMPLE USAGE:

WITH WORDLIST: python fuzzer.py -ports ports.txt -target http://somewebsite.com -throttle 20 -timeout 2
WITHOUT WORDLIST: python fuzzer.py  -target http://somewebsite.com -throttle 20 -timeout 2

-ports The file name in this directory containing the ports you want to try. This is optional, and if you omit this parameter the system will scan all possible ports.

-target The target URL to investigate, in the format: http://somewebsite.com -- remember to omit any trailing slash.

-throttle The target throttle, which is the maximum number of requests to the server that are allowed to occur a 1 second time window.

-timeout The timeout period, in seconds, after which we consider an attempt on a target port to have failed.

The system outputs its findings in this way:

-- Fuzzer Active --
Num ports to try: 4
Target: http://192.168.0.5
Throttle: 1
PORT    SUCCESS CODE    TITLE   NOTES
8888    false   N/A     NONE    <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
65      false   N/A     NONE    <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
8080    true    200     <title>My Cool Website/title>    N/A
90      false   N/A     NONE    <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
122     false   N/A     NONE    <urlopen error [Errno 10061] No connection could be made because the target machine actively refused it>
22      false   N/A     NONE    [Errno 10054] An existing connection was forcibly closed by the remote host

Each output is fairly self-explanitory. The TITLE field is the title tag of any web-pages that are being served on the target at the specified port. The NOTES field shows some further information about the connection attempt, in case this is important or interesting. As we can see in the example above, this allows you to see if your connection times out or is actively closed by the target. In the above example, this tells us that some service is running at port 22 (in this case it was a SSH server), because it closed our connection, whereas nothing is running on the other ports so our attempted HTTP request just timed out.

fuzzer's People

Contributors

jayyoung avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.