Wfuzz has been created to facilitate the task in web applications assessments and it is based on a simple concept: it replaces any reference to the FUZZ keyword by the value of a given payload.
--hs/ss"regex"#Hide/Show#Simple example, match a string: "Invalid username"#Regex example: "Invalid *"--hc/scCODE#Hide/Show by code in response--hl/slNUM#ide/Show by number of lines in response--hw/swNUM#ide/Show by number of words in response--hc/scNUM#ide/Show by number of chars in response
Output options
wfuzz-eprinters#Prints the available output formats-f/tmp/output,csv#Saves the output in that location in csv format
Encoders options
wfuzz-eencoders#Prints the available encoders#Examples: urlencode, md5, base64, hexlify, uri_hex, doble urlencode
In order to use a encoder, you have to indicate it in the "-w" or "-z" option.
Examples:
-z file,/path/to/file,md5 #Will use a list inside the file, and will trnasform each value into its md5 hash before sending it
-w/path/to/file,base64#Will use a list, and transforms to base64-zlist,each-element-here,hexlify#Inline list and to hex before sending values
CheetSheet
Login Form bruteforce
POST, Single list, filter string (hide)
wfuzz -c -w users.txt --hs "Login name" -d "name=FUZZ&password=FUZZ&autologin=1&enter=Sign+in" http://zipper.htb/zabbix/index.php
#Here we have filtered by line
POST, 2 lists, filder code (show)
wfuzz.py -c -z file,users.txt -z file,pass.txt --sc 200 -d "name=FUZZ&password=FUZ2Z&autologin=1&enter=Sign+in" http://zipper.htb/zabbix/index.php
#Here we have filtered by code
GET, 2 lists, filter string (show), proxy, cookies