Password Attacks
Crunch is a wordlist generator where you can specify a standard character set or a custom one. It can generate all possible combinations.
sudo apt install crunch
crunch <min> <max> [charset] -o <output>
Crunch is a wordlist generator that creates every possible character combination within specified parameters. It generates wordlists from minimum and maximum lengths, custom character sets, and pattern templates.
Unlike content-based tools like CeWL, Crunch creates wordlists mathematically. You define the character set (lowercase, uppercase, digits, symbols) and length range, and Crunch generates all permutations. This makes it ideal for creating PIN lists, brute-force dictionaries, and pattern-based wordlists.
Crunch can output directly to files or stdout, allowing it to pipe directly into other tools like Hashcat, John the Ripper, or Hydra without creating intermediate files.
crunch 6 6Generate all lowercase words of exactly 6 characters using the default charsetcrunch 4 8Generate words from 4 to 8 characters long using the default lowercase charsetcrunch 8 8 abcdefghijklmnopqrstuvwxyzGenerate 8-char words using a custom lowercase-alphabet charsetcrunch 6 6 0123456789Generate all 6-digit numeric PIN combinationscrunch 6 8 -o wordlist.txtWrite generated 6-8 char words to a file instead of stdoutcrunch 1 8 -f /usr/share/crunch/charset.lst mixalpha -o wordlist.txtUse a named charset from charset.lst and save to a filecrunch 8 8 -t @@@@@@@@ -o pass.txtUse a pattern of lowercase-letter placeholders to build the wordlistcrunch 12 12 -t Pass@@@@%%%%Build passwords with a fixed prefix plus lowercase and numeric placeholderscrunch 10 10 -t @@@@@^^^^^Generate words mixing lowercase letters and symbols via pattern placeholderscrunch 8 8 -t pass,%%%Use uppercase-letter placeholder (,) followed by numeric placeholders in a patterncrunch 6 6 abcdef -s cadefStart generating from a specific word rather than the first combinationcrunch 6 6 abc123 -e fff123Stop generating once a specific end word is reachedcrunch 4 6 abc -d 2@ -o wordlist.txtLimit consecutive identical characters (max 2 of the same @ placeholder)crunch 1 6 abcABC -c 1000 -o STARTSplit output into files of 1000 lines each (START is auto-renamed by content)crunch 6 8 -b 20mib -o STARTSplit output into files no larger than 20 MiB eachGenerate all 6-digit numeric PINs for testing PIN-based authentication systems.
Create wordlists matching known password patterns like 'pass' + 4 digits.
Pipe generated words directly into cracking tools without intermediate files.
Generate complete character set combinations for exhaustive password testing.
Create custom wordlists for cryptography and password cracking challenges.
Yes, Crunch is included in the default Kali Linux installation, so no extra setup is needed. If it is missing on a minimal image you can add it with `sudo apt install crunch`. Verify the version with `crunch --version`.
Crunch generates wordlists algorithmically from character sets and patterns you define, producing every possible combination. CeWL instead scrapes a website to build a wordlist from words that actually appear on it. Use Crunch for pattern-based or policy-based lists and CeWL for target-specific vocabulary during authorized testing.
Crunch ships with `/usr/share/crunch/charset.lst`, which defines named sets like `lalpha` and `mixalpha-numeric-all`. Reference one with the `-f` flag, e.g. `crunch 8 8 -f /usr/share/crunch/charset.lst mixalpha -o wordlist.txt`. You can copy that file and edit it to define your own named character sets.
Crunch has no true resume feature, but the `-s` flag lets you start generation from a specific string, e.g. `crunch 6 6 -s aab000`. By noting the last value written before an interruption, you can restart close to where you stopped instead of regenerating the whole keyspace.
Crunch works with any byte values you pass in a custom character set, so accented and other characters can be included directly on the command line, e.g. `crunch 4 4 abcñé`. Full multi-byte Unicode support can be inconsistent, so verify a small sample of the output before generating a large list.
Use `-b` to cap each file by size or `-c` to cap it by number of lines, combined with `-o START`. For example `crunch 8 8 -b 20mib -o START` writes a series of files no larger than 20 MiB each, which keeps individual files manageable for tools that struggle with huge inputs.
Password Attacks
Website-based wordlist generator for target-specific dictionaries.
Password Attacks
GPU-accelerated cracker that uses Crunch-generated wordlists.
Password Attacks
Personal information-based wordlist generator for social engineering targets.
Password Attacks
CPU-based password cracker for testing Crunch-generated wordlists.
Password Attacks
Online brute-forcer for testing Crunch-generated passwords against live services.
Outputs a text file populated with every single mathematical permutation based on your input parameters.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.