# Directorios

## FFuF

```shell
ffuf -u http://<target>/FUZZ -w <path-wordlist>:FUZZ -c -fc <code> -o ffuf-fuzzing-directories.html -of html
```

* -u = URL.
  * \<target> = objetivo.
  * FUZZ = la palabra `FUZZ` será reemplazada con los valores de la wordlist.
* -w = wordlist.
  * \<path-wordlist> = ruta de wordlist de directorios ([SecList](https://github.com/danielmiessler/SecLists/blob/master/Discovery/Web-Content/raft-large-directories.txt)).
* -c = output con colores.
* -fc \<code> = filtra respuestas por el código especificado, por ejemplo: `404`.
* -o = guarda resultado en archivo `ffuf-fuzzing-directories.html`.

## Gobuster

```sh
# General
gobuster dir -e -u http://<target>/ -w <path-wordlist> -o gobuster-fuzzing-directories.txt
# Omitir verificación de certificado SSL
gobuster dir -e -k -u https://<target>/ -w <path-wordlist> -o gobuster-fuzzing-directories.txt
```

* -e = modo expandido, imprimir URL "completas".
* -k = omitir verificación de certificado SSL.
* -u = URL.
  * \<target> = objetivo.
* -w = wordlist.
  * \<path-wordlist> = ruta de wordlist de directorios ([SecList](https://github.com/danielmiessler/SecLists/blob/master/Discovery/Web-Content/raft-large-directories.txt)).
* -o = guarda resultado en archivo `gobuster-fuzzing-directories.txt`.

## Wfuzz

```shell
wfuzz -c -z file,<path-wordlist> --hc <code> http://<target>/FUZZ/
```

{% hint style="info" %}
Incluir barra diagional "`/`" (slash) al final de la palabra `FUZZ`.
{% endhint %}

* -c = output con colores.
* -z = especifica el payload para cada palabra clave FUZZ utilizada.
  * \<path-wordlist> = ruta de wordlist de directorios ([SecList](https://github.com/danielmiessler/SecLists/blob/master/Discovery/Web-Content/raft-large-directories.txt)).
* \--hc \<code> = oculta respuestas por el código especificado, por ejemplo: `404`.
* \<target> = objetivo.
  * FUZZ = la palabra `FUZZ` será reemplazada con los valores de la wordlist.


---

# 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://web.mrw0l05zyn.cl/escaneo-y-enumeracion/fuzzing/directorios.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.
