> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/es/reconnaissance/web-fuzzing.md).

# Fuzzing web

El fuzzing web ayuda a descubrir directorios ocultos, archivos, extensiones, parámetros, hosts virtuales y recursos expuestos durante el reconocimiento de aplicaciones web.

{% hint style="info" %}
Hay muchas herramientas y métodos para descubrir directorios y archivos en sitios web, ya sea desde la línea de comandos o mediante recursos en línea. Estos son los principales enfoques y las herramientas más útiles:
{% endhint %}

## Gobuster:

> Gobuster es una herramienta rápida y eficaz para realizar ataques de fuerza bruta en directorios y archivos de sitios web.

### **Solo directorios:**

```bash
gobuster dir -u http://website.com/ -w /usr/share/SecLists/Discovery/Web-Content/directory-list-2.3-medium.txt -t 100
```

* **-u**: URL del sitio objetivo.
* **-w**: Ruta del archivo que contiene la lista de palabras clave (wordlist).
* **-t**: Número de hilos usados para la búsqueda.

### **Archivos con extensiones específicas:**

```bash
gobuster dir -u http://website.com/ -w /usr/share/SecLists/Discovery/Web-Content/quickhits.txt -t 100 -x html,php,txt
```

* **-x**: Especifica las extensiones que se van a buscar.

### **Añade filtros específicos a las respuestas:**

* **-hh**: Filtra por tamaño del cuerpo en bytes.
* **-hc**: Excluye respuestas con códigos de estado específicos (por ejemplo, 404).

<figure><img src="/files/7dc62368c7a537b7ebe1f6fcda6d12b5b55401dc" alt=""><figcaption></figcaption></figure>

## Wfuzz:

> Wfuzz permite búsquedas avanzadas y configurables mediante ataques de fuerza bruta, ya sea para directorios o parámetros en URL.

### **Solo directorios:**

```bash
wfuzz -c -t 100 -w /usr/share/SecLists/Discovery/Web-Content/directory-list-2.3-medium.txt http://website.com/FUZZ
```

* **-c**: Muestra la salida en color.
* **FUZZ**: Indica dónde se inyectarán las palabras clave.

### **Archivos con extensiones específicas:**

```bash
wfuzz -c -t 100 -w /usr/share/SecLists/Discovery/Web-Content/quickhits.tx -z list,html-txt-php http://website.com/
```

* **-z**: Define extensiones adicionales que se usarán en la búsqueda (list te permite definir varias extensiones).

### **Valores dinámicos de parámetros (`?product_id=`) :**

```bash
wfuzz -c -t 100 -z range,1-200000 'http://website.com/shop/buy/detail?product_id=FUZZ'
```

* **-z range,1-200000**: Realiza un ataque de fuerza bruta con un rango numérico de 1 a 200.000.

<figure><img src="/files/171cd923e96d2c0e28014b781199ef055b52413b" alt=""><figcaption></figcaption></figure>

## **Métodos adicionales:**

### Descubrimiento de fuentes públicas:

Si prefieres métodos visuales de fuente pública, usa el catálogo mantenido en [Herramientas de OSINT e investigación](/es/hacking-tools/osint.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/es/reconnaissance/web-fuzzing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
