> For the complete documentation index, see [llms.txt](https://notes.programmersecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.programmersecurity.com/web-pentesting-stuff/pentesting-port-80-443/ffuf-commands.md).

# FFUF Commands

## FFUF for Dir and Files

```python
ffuf -u http://10.10.110.62:8080/FUZZ -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -c -e php,txt,html 
```

## FFUF for vhost Scanning

We can use FFUF to Scan for the Virtual Hosts, i am using **names.txt** from seclists

```python
ffuf -u http://inlanefreight.htb -H "HOST: FUZZ.inlanefreight.htb" -w /usr/share/seclists/Discovery/DNS/namelist.txt
```

i have used filtering as well because i was getting 10918 and 0 size on every vhost so i filtered them

<figure><img src="https://3420091786-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy1ZUO45eHY8aMCLJ7OiN%2Fuploads%2FOH9MMPpNvUXIgfISC4vC%2Fimage.png?alt=media&amp;token=351756a3-6777-4343-b112-cdf3902c0ae2" alt=""><figcaption></figcaption></figure>

## FFUF using BurpSuite Request File

if you want to do some fuzzing in a BurpSuite Request, then you can  you can add the request in a file and pass the file to FFUF, just like we do with sqlmap

```javascript
ffuf -request ffuf-request -w /usr/share/seclists/Usernames/xato-net-10-million-usernames-dup.txt -request-proto http
```

i have used **-fs 781** because i wanted to filter size 781

<figure><img src="https://3420091786-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy1ZUO45eHY8aMCLJ7OiN%2Fuploads%2FuIiOxI0WV7cT5p89uFD4%2Fimage.png?alt=media&amp;token=d364f9fb-ee0e-44c6-95ed-8cc44d0f0340" alt=""><figcaption></figcaption></figure>
