yafuzz
Yet another web fuzzer
Usage
This script can run in two modes of operation.
Supplying a wordlist -W argument will initiate a multithreaded fuzzing session.
Lack of wordlist -W tag will run this script in interactive inline mode.
Use Burp Pro instead if you have one.
Key features:
- Fuzzer will replace all
[INJECT]tags with specified payload (supports url, data, headers, cookies) - Multiple HTTP methods will result in separate request for each
- Request body will not be automatically encoded or formated based on content type
- A wordlist can be supplied as input through
-Wor--wordlistargument - Strings of interest can be extracted through regex pattern through
-Eor--extracttag - Response details or status codes can be filtered by supplying CRC or code in
-Bor--banarguments (supports multiple values) - Request headers can be set by through
-Hor--headertags (supports multiple values) - Associated cookies can be configured by supplying
-Cor--cookieargument (supports multiple values) - Request data can be set by through
-Dor--datatag (requires manual content-type header) - Fuzzing speed can be controlled by
-Sor--speedargument which defines amount of concurent threads - Request HTTP methods used in fuzzing can be sent by supplying
-Mor--methodtags (supports multiple values) - Keyword used for payload replacement can be modified with
-Tor--TAGargument - Redirect handling can be controlled through
-Ror--redirecttag - HTTP request timeout can be set bu supplying
-Oor--timeoutargument - Verbose output, including full response body can be enabled by
-Vor--verbosetag - Proxy for outgoing requests can be configured through
-Xor--proxyargument
Demo
usage: yafuzz.py [-h] --url URL [--wordlist WORDLIST] [--extract EXTRACT]
[--ban BANNED] [--header HEADERS] [--cookie COOKIES]
[--data DATA] [--speed SPEED] [--method METHOD] [--tag TAG]
[--redirect] [--timeout TIMEOUT] [--verbose] [--proxy PROXY]
Yet another HTTP fuzzer
optional arguments:
-h, --help show this help message and exit
--url URL, -U URL Target HTTP URL address
--wordlist WORDLIST, -W WORDLIST
Wordlist file path
--extract EXTRACT, -E EXTRACT
RegEx pattern to extract from response
--ban BANNED, -B BANNED
Ban specific crc32 hash or response code from output
--header HEADERS, -H HEADERS
HTTP Headers i.e. "TEST: true"
--cookie COOKIES, -C COOKIES
HTTP Cookies i.e. "TEST=true"
--data DATA, -D DATA HTTP request body
--speed SPEED, -S SPEED
Number of threads
--method METHOD, -M METHOD
HTTP method to use
--tag TAG, -T TAG Tag to search for and replace
--redirect, -R Accept HTTP redirects
--timeout TIMEOUT, -O TIMEOUT
Timeout of the HTTP request
--verbose, -V Enable verbose output
--proxy PROXY, -X PROXY
Enable HTTP proxy
