This blog is NOT OFFICIAL website of Kali Linux. We just share Tutorials to learn Cybersecurity.

Crunch -- Custom Wordlist Generator

Wordlists are the very crucial things in brute-force attacks. A brute-force password attack is a attack in which an attacker uses a script to repeatedly try to log into an account using a list of possible passwords until they successfully logged in.

In this tutorial we are going to learn generating our custom made wordlist with crunch, it uses permutation and combinations to create all possible combinations of the given character set. Crunch comes pre-installed with our Kali Linux environment.

As always we start from the terminal window and type following command to run crunch:


The screenshot of the command is following:

Now we are going to make a wordlist by using following command :

crunch 4 5 ABCDEFGHIJKLMNOPQRSTUVWXYZ -O /root/Desktop/wordlist.txt
The output of preceding command is following:

In the command the first number (4) is for the minimum length of the possible password we want, and the second number (5) is for the maximum number of possible password we want to generate, and we use all capital characters. We also can use small characters and numbers and symbols, and then -o for output directory and name of the wordlist. As we can see the file size is 70 MB and there are 12338352 possible passwords.

We can use capital letters, small letters, numbers, symbols etc to generate a bigger wordlist. like the following command:

crunch 4 8 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@,.*&%# -O /root/Desktop/wordlist.txt
The screenshot of the command is following:

Kali Linux


Post a Comment