> For the complete documentation index, see [llms.txt](https://pwc-3.gitbook.io/pwc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pwc-3.gitbook.io/pwc/ji-shu/webpentest2/untitled-29.md).

# Web Tool - WFuzz

A tool to FUZZ web applications anywhere.

> 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.

## Installation <a href="#installation" id="installation"></a>

Installed in Kali

Github: <https://github.com/xmendez/wfuzz>​

## Filtering options <a href="#filtering-options" id="filtering-options"></a>

```
--hs/ss "regex" ​--hc/sc CODE --hl/sl NUM --hw/sw NUM --hc/sc NUM 
```

## Output options <a href="#output-options" id="output-options"></a>

```
wfuzz -e printers -f /tmp/output,csv 
```

### Encoders options <a href="#encoders-options" id="encoders-options"></a>

In order to use a encoder, you have to indicate it in the **"-w"** or **"-z"** option.

Examples:

```
-z file,/path/to/file,md5 -w /path/to/file,base64 -z list,each-element-here,hexlify 
```

## CheetSheet <a href="#cheetsheet" id="cheetsheet"></a>

### Login Form bruteforce <a href="#login-form-bruteforce" id="login-form-bruteforce"></a>

#### **POST, Single list, filter string (hide)** <a href="#post-single-list-filter-string-hide" id="post-single-list-filter-string-hide"></a>

```
wfuzz -c -w users.txt --hs "Login name" -d "name=FUZZ&password=FUZZ&autologin=1&enter=Sign+in" http://zipper.htb/zabbix/index.php
```

#### **POST, 2 lists, filder code (show)** <a href="#post-2-lists-filder-code-show" id="post-2-lists-filder-code-show"></a>

```
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
```

#### **GET, 2 lists, filter string (show), proxy, cookies** <a href="#get-2-lists-filter-string-show-proxy-cookies" id="get-2-lists-filter-string-show-proxy-cookies"></a>

```
wfuzz -c -w users.txt -w pass.txt --ss "Welcome " -p 127.0.0.1:8080:HTTP -b "PHPSESSIONID=1234567890abcdef;customcookie=hey" "http://example.com/index.php?username=FUZZ&password=FUZ2Z&action=sign+in"
```

### Bruteforce Dicrectory/RESTful bruteforce <a href="#bruteforce-dicrectory-restful-bruteforce" id="bruteforce-dicrectory-restful-bruteforce"></a>

​[Arjun parameters wordlist](https://raw.githubusercontent.com/s0md3v/Arjun/master/db/params.txt)​

```
wfuzz -c -w /tmp/tmp/params.txt --hc 404 https://domain.com/api/FUZZ
```

### Path Parameters BF <a href="#path-parameters-bf" id="path-parameters-bf"></a>

```
wfuzz -c -w ~/git/Arjun/db/params.txt --hw 11 'http://example.com/path%3BFUZZ=FUZZ'
```

#### **Basic, 2 lists, filter string (show), proxy** <a href="#basic-2-lists-filter-string-show-proxy" id="basic-2-lists-filter-string-show-proxy"></a>

```
wfuzz -c -w users.txt -w pass.txt -p 127.0.0.1:8080:HTTP --ss "Welcome" --basic FUZZ:FUZ2Z "http://example.com/index.php"
```

#### **NTLM, 2 lists, filter string (show), proxy** <a href="#ntlm-2-lists-filter-string-show-proxy" id="ntlm-2-lists-filter-string-show-proxy"></a>

```
wfuzz -c -w users.txt -w pass.txt -p 127.0.0.1:8080:HTTP --ss "Welcome" --ntlm 'domain\FUZZ:FUZ2Z' "http://example.com/index.php"
```

#### **Cookie, filter code (show), proxy** <a href="#cookie-filter-code-show-proxy" id="cookie-filter-code-show-proxy"></a>

```
wfuzz -c -w users.txt -p 127.0.0.1:8080:HTTP --ss "Welcome " -H "Cookie:id=1312321&user=FUZZ"  "http://example.com/index.php"
```

#### **User-Agent, filter code (hide), proxy** <a href="#user-agent-filter-code-hide-proxy" id="user-agent-filter-code-hide-proxy"></a>

```
wfuzz -c -w user-agents.txt -p 127.0.0.1:8080:HTTP --ss "Welcome " -H "User-Agent: FUZZ"  "http://example.com/index.php"
```

#### **Host** <a href="#host" id="host"></a>

```
wfuzz -c -w /usr/share/wordlists/SecLists/Discovery/DNS/subdomains-top1million-20000.txt --hc 400,404,403 -H "Host: FUZZ.example.com" -u http://example.com -t 100
```

### HTTP Verbs (methods) bruteforce <a href="#http-verbs-methods-bruteforce" id="http-verbs-methods-bruteforce"></a>

#### **Using file** <a href="#using-file" id="using-file"></a>

```
wfuzz -c -w methods.txt -p 127.0.0.1:8080:HTTP --sc 200 -X FUZZ "http://example.com/index.php"
```

#### **Using inline list** <a href="#using-inline-list" id="using-inline-list"></a>

```
$ wfuzz -z list,GET-HEAD-POST-TRACE-OPTIONS -X FUZZ http://testphp.vulnweb.com/
```

### Directory & Files Bruteforce <a href="#directory-and-files-bruteforce" id="directory-and-files-bruteforce"></a>

```
wfuzz -c -z file,/usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt --sc 200,202,204,301,302,307,403 http://example.com/uploads/FUZZ
```

​<https://github.com/carlospolop/fuzzhttpbypass>​
