Crunch is a wordlist generator. It uses permutation and combination to generate all possible combinations of the supplied character set.
Generating wordlists with crunch
How to do it...
Let's perform the following steps:
- Crunch is pre-installed with Kali. We can launch it with crunch:

- As we see, it is easy to generate a password list with a minimum of two characters and a maximum of two characters, containing only abcdef. We can use the following command:
crunch 2 2 abcdef
- In the following screenshot, we can see the wordlist has been generated:

- To save it in a file, we can use the –o switch.