crunch
Crunch is a wordlist generator that creates dictionaries based on specified character sets, lengths, and combinations. It supports numbers, symbols, upper and lower case characters, and Unicode.
Description
Crunch is a tool for creating wordlists where users can specify a standard character set or any custom set of characters. The wordlists are generated through combinations and permutations of the characters, allowing control over the length and size of the output lists. This makes it useful for generating custom dictionaries for password cracking and other security testing scenarios.
The tool outputs data to the screen, a file, or pipes it to another program, providing flexibility in workflows. It is particularly valuable in penetration testing for creating targeted wordlists based on known patterns or character constraints.
Crunch supports a wide range of characters including numbers, symbols, upper and lower case letters separately, and Unicode, enabling comprehensive dictionary generation for various authentication cracking tasks.
How It Works
Crunch generates wordlists by performing combinations and permutations of a specified character set within defined minimum and maximum lengths. It calculates the total data size and number of lines before generation, then produces the output accordingly. The process is controlled via command-line parameters for length, charset, and output options.
Installation
sudo apt install crunchFlags
Examples
crunch 6 6 0123456789abcdef -o 6chars.txtcrunch -hcrunch 1 1 abcdefcrunch 4 4 0123456789 -o numbers.txtcrunch 3 5 abcdefgh | grep -i passcrunch 6 6 -f /usr/share/crunch/charset.lst mixalpha-numeric -o mixed.txtcrunch 2 8 -t @@@@%%%% -o pattern.txt