# Crunch

Crunch is able to generate custom wordlists with defined character-sets and password formats. These lists can become so long they are unusable so typically you use this when you know a pattern or are targeting a single user.

`#crunch 6 6 0123456789ABCDEF -o crunch1.txt`

`# crunch 4 4 -f /usr/share/crunch/charset.lst mixalpha`

@ - Lower case alpha characters , - Upper case alpha characters % - Numeric characters ^ - Special characters including space

You notice the following trend in the password structure. \[Capital Letter] \[2 x lower case letters] \[2 x special chars] \[3 x numeric]

`#crunch 8 8 -t ,@@^^%%%`


---

# 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://www.hackbook.io/privilege-escalation/passwords/crunch.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.
