# FFuf

#### &#x20;<a href="#how-to-enumerate-urls-with-ffuf" id="how-to-enumerate-urls-with-ffuf"></a>

#### How to Enumerate URLs with Ffuf <a href="#how-to-enumerate-urls-with-ffuf" id="how-to-enumerate-urls-with-ffuf"></a>

```bash
ffuf -u http://localhost:3000/FUZZ -w /usr/share/wordlists/SecLists/Discovery/Web-Content/big.txt
```

#### How to Enumerate Files with Ffuf <a href="#how-to-enumerate-files-with-ffuf" id="how-to-enumerate-files-with-ffuf"></a>

```bash
ffuf -u http://localhost:3000/FUZZ -w /usr/share/wordlists/SecLists/Discovery/Web-Content/raft-medium-words-lowercase.txt -e .php,.html,.txt
```

#### How to Enumerate Sub Domains using Ffuf <a href="#how-to-enumerate-sub-domains-using-ffuf" id="how-to-enumerate-sub-domains-using-ffuf"></a>

```
ffuf -u http://FUZZ.mydomain.com -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt

ffuf -w subdomains.txt -u http://website.com/ -H 'Host: FUZZ.website.com'

ffuf -w subdomains.txt -u http://10.10.11.12/ -H 'Host: FUZZ.website.com'
```

#### How to Find Usernames with Ffuf <a href="#how-to-find-usernames-with-ffuf" id="how-to-find-usernames-with-ffuf"></a>

```bash
ffuf -w /usr/share/SecLists/Usernames/top-usernames-shortlist.txt -X POST -d "username=FUZZ&&password=x" -H "Content-Type: application/x-www-form-urlencoded" -u http://mydomain.com/login -mr "username already exists"
```

#### Brute Forcing using Ffuf <a href="#brute-forcing-using-ffuf" id="brute-forcing-using-ffuf"></a>

```bash
ffuf -w usernames.txt:W1,/usr/share/wordlists/SecLists/Passwords/Common-Credentials/10-million-password-list-top-100.txt:W2 -X POST -d "username=W1&password=W2" -H "Content-Type: application/x-www-form-urlencoded" -u http://localhost:3000/login -fc 200
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://n0m4dsec.gitbook.io/sec-book/web-exploitation-tools/ffuf.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
