> 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/ru/hacking-wifi/wpa-wpa2-psk-network-attacks/precomputed-attacks/pyrit-database-attack-cracking.md).

# Взлом при атаке на базу данных Pyrit

Предварительно вычислите ключи WPA/WPA2 в базе данных Pyrit и проверьте захваченное рукопожатие.

Атаки на базу данных Pyrit предварительно вычисляют ключи перед проверкой захвата. Это делает финальный поиск очень быстрым.

Рабочий процесс импортирует возможные пароли, добавляет целевой ESSID и генерирует необходимые значения.

<figure><img src="https://4248209978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FgmwqtmKkrgGGVbZasqSH%2Fimage.png?alt=media&amp;token=0e8b5876-9c0b-4b2e-a2c9-b7fcad75f615" alt=""><figcaption></figcaption></figure>

### Импортировать возможные пароли

Импортируйте список паролей в базу данных Pyrit:

{% code overflow="wrap" %}

```bash
pyrit -i passwords.txt import_passwords
```

{% endcode %}

### Создать ESSID

Добавьте имя целевой сети:

<figure><img src="https://4248209978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FNK6LX20afte1GR8Ne0wp%2Fimage.png?alt=media&amp;token=19e53b19-5b1d-4ebb-8b2b-2770645c967d" alt=""><figcaption></figcaption></figure>

{% code overflow="wrap" %}

```bash
pyrit -e jordan create_essid
```

{% endcode %}

<figure><img src="https://4248209978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FfXbe8TMVLoZWiVf8cL7h%2Fimage.png?alt=media&amp;token=0b62b893-6fff-47b7-a3bd-126e24bc5567" alt=""><figcaption></figcaption></figure>

### Предварительно вычислить ключи

Сгенерируйте значения базы данных для импортированных паролей и ESSID:

{% code overflow="wrap" %}

```bash
pyrit batch
```

{% endcode %}

### Проверить захват

Запустите атаку по базе данных против захваченного рукопожатия:

{% code overflow="wrap" %}

```bash
pyrit -r Capture-01.cap attack_db
```

{% endcode %}

Этот тест занимает 0,0001 секунды. Pyrit проверяет около 93 миллионов паролей в секунду.

Предварительно вычисленная база данных позволяет избежать расчёта каждого пароля во время финального поиска.

<figure><img src="https://4248209978-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2FGNjJ9FPBTODpPuw1BRfR%2Fimage.png?alt=media&amp;token=d4bc6a51-2a61-4b23-8461-22a3040270bf" 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/ru/hacking-wifi/wpa-wpa2-psk-network-attacks/precomputed-attacks/pyrit-database-attack-cracking.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.
