> 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/hacking-wifi/wpa-wpa2-psk-network-attacks/password-auditing/aircrack-brute-force-network-password-recovery.md).

# Recuperar contraseñas de red con Aircrack-ng

Prueba una captura WPA/WPA2 autorizada contra una lista de contraseñas.

### Resumen

Usa este flujo de trabajo para redes que posees o para las que estás autorizado a evaluar.

Aircrack-ng prueba una captura WPA/WPA2 contra una lista de contraseñas. Recupera una frase de contraseña solo cuando la lista contiene una coincidencia.

Confirma que la captura incluya un handshake válido antes de ejecutar la auditoría.

### Ejecuta la auditoría de contraseñas

Proporciona el archivo de captura y una lista de contraseñas aprobada:

{% code overflow="wrap" %}

```bash
aircrack-ng -w /usr/share/wordlists/rockyou.txt CAPTURE-01.cap
```

{% endcode %}

Reemplace `CAPTURE-01.cap` con el nombre de tu archivo de captura. `rockyou.txt` es una lista de contraseñas de ejemplo común.

### Revisa el resultado

Aircrack-ng muestra la clave recuperada cuando encuentra una entrada coincidente en la lista de contraseñas:

<figure><img src="https://754079710-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FgYMkkupHPZgPM7lXI0z7%2Fimage.png?alt=media&amp;token=5d37f8b9-3d92-4326-b0e7-0f64b399cc59" alt=""><figcaption></figcaption></figure>

Registra el resultado de forma segura. Elimina las capturas temporales después de la evaluación.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/es/hacking-wifi/wpa-wpa2-psk-network-attacks/password-auditing/aircrack-brute-force-network-password-recovery.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
