> 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/fr/hacking-wifi/wpa-wpa2-psk-network-attacks/precomputed-attacks/cowpatty-cracking-against-a-rainbow-table.md).

# Craquage Cowpatty contre une table arc-en-ciel

Utiliser Cowpatty avec une base de données GenPMK précomputée et un handshake capturé.

Après avoir créé une base de données GenPMK, Cowpatty peut l’utiliser pour vérifier une poignée de main capturée.

La base de données et la capture doivent utiliser le même nom de réseau. Ici, l’ESSID est `jordan`.

### Lancez la recherche

Utilisez le pré-calculé `dic.genpmk` base de données avec la capture :

{% code overflow="wrap" %}

```bash
cowpatty -d dic.genpmk -r Capture-01.cap -s jordan
```

{% endcode %}

Les paramètres sont :

* `-d dic.genpmk` sélectionne la base de données GenPMK.
* `-r Capture-01.cap` fournit la poignée de main capturée.
* `-s jordan` définit le nom du réseau cible.

Cowpatty trouve le mot de passe en moins de 0,03 seconde. Le taux de recherche est de 445 106 mots de passe par seconde.

Les valeurs pré-calculées rendent la recherche beaucoup plus rapide. Elles évitent de recalculer chaque candidat pendant cette étape.

<figure><img src="https://3840167291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FXSAfuVlftWOWsDBPo66z%2Fimage.png?alt=media&amp;token=c3b3bfc8-67cf-4988-a8d8-b274d1b9056d" alt=""><figcaption></figcaption></figure>


---

# 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/fr/hacking-wifi/wpa-wpa2-psk-network-attacks/precomputed-attacks/cowpatty-cracking-against-a-rainbow-table.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.
