# Fuzzing Web

### Fuzzing de Directorios y Archivos

#### Gobuster

```bash
gobuster dir -u http://<IP> -w <WORDLIST> -x php,html,txt -t 100 -k -r
```

* `-u`: URL objetivo
* `-w`: Wordlist para fuzzing
* `-x`: Extensiones de archivo a buscar
* `-t`: Número de hilos concurrentes
* `-k`: Ignorar certificados SSL
* `-r`: Seguir redirecciones

#### Dirb

```bash
dirb https://<IP>:<PORT>/ <WORDLIST>
```

* Escanea directorios web usando wordlists predefinidas
* Soporta SSL/TLS automáticamente

#### FFuf (Fuzz Faster U Fool)

```bash
ffuf -u http://<IP>/file.php\?FUZZ\=/etc/passwd -w <WORDLIST> -fs <SIZE>
```

* `-u`: URL con marcador FUZZ
* `-w`: Wordlist
* `-fs`: Filtrar por tamaño de respuesta

```bash
ffuf -u http://domain.local/ -w <WORDLIST> -H "Host: FUZZ.domain.local" -fs <SIZE>
```

* `-H`: Header personalizado con fuzzing
* Útil para virtual host discovery


---

# 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://dise0.gitbook.io/h4cker_b00k/comandos-utiles/fuzzing-web.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.
