Crunch is a wordlist generator for Linux, commonly used in password cracking and security testing.
It allows users to create custom wordlists by specifying various patterns and criteria, such as character sets, length, and combinations. These wordlists can be used in brute force attacks or security checks and are useful for different Linux tools like John the Ripper and Hydra. Crunch’s flexibility and efficiency make it an essential asset for cybersecurity professionals seeking to enhance their penetration testing and password analysis capabilities.
In Crunch we need to specify the characters set to be used and the wanted length. It will generate wordlist from the parameters we specified using combination and permutation.
The tool supports numbers and symbols, upper and lower case characters separately and Unicode.
Combination And Permutation Examples
Crunch generates permutations, allowing users to specify character sets and word lengths to create words by arranging the characters in various orders within the desired length.
For example you can generate all permutations of the characters ‘A’, ‘B’, a ‘C’ with lengths from 1 to 2:
You can also generate all the combinations of character set. Like all combinations in length 2 of ‘A’, ‘B’ and ‘C’:
Another example , generating wordlist in length 1-2 characters ‘A’,’B’,’c’,’5′,’6′: