> For the complete documentation index, see [llms.txt](https://notes.kraken-security.ru/kraken/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.kraken-security.ru/kraken/tools/ataki-na-paroli/crunch.md).

# Crunch

<figure><img src="/files/Ps2I3kF8afMqslJSiiWJ" alt=""><figcaption></figcaption></figure>

## Пример использования Crunch

Создание файла словаря, содержащего слова с минимальной и максимальной длиной 6 (`6 6`), используя заданные символы (`0123456789abcdef`), сохранив вывод в файл (`-o 6chars.txt`):

```
root@kali:~# crunch 6 6 0123456789abcdef -o 6chars.txt
Crunch will now generate the following amount of data: 117440512 bytes
112 MB
0 GB
0 TB
0 PB
Crunch will now generate the following number of lines: 16777216
```

## Пакеты и бинарные файлы:

### crunch <a href="#crunch" id="crunch"></a>

Crunch - это генератор списков слов, в котором вы можете указать стандартный набор символов или любой набор символов, который будет использоваться при создании списков слов. Списки слов создаются путем комбинации и перестановки набора символов. Вы можете определить количество символов и размер списка.

Программа поддерживает цифры и символы, символы верхнего и нижнего регистра по отдельности и Юникод.

Команда для установки: `sudo apt install crunch`

**crunch**

Создание словаря из набора символов

```
root@kali:~# crunch -h
crunch version 3.6

Crunch can create a wordlist based on criteria you specify.  The output from crunch can be sent to the screen, file, or to another program.

Usage: crunch <min> <max> [options]
where min and max are numbers

Please refer to the man page for instructions and examples on how to use crunch.
```


---

# 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://notes.kraken-security.ru/kraken/tools/ataki-na-paroli/crunch.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.
