Hey guys, in this tutorial we are going to discuss the awful wordlist generator tool called “Crunch“. It ranks among the top leading tools for generating any kind of wordlist. The Crunch tool is specifically designed to create a complexity wordlist in seconds to perform bruteforce attacks. It’s a pre-installed tool in kali linux that is used for generate a powerful wordlist, where you can specify a standard character set or a character set you specify. Crunch can generate all possible combinations and permutations and even you can make wordlist based on specified line, numbers and size.
Lets take a look 🙂 !!
If you have any other operating system instead of kali linux then you must have to installed this tool through using the following command. Just you need to execute it.
sudo apt-get install crunch && pkg install crunch
But as we told you that it comes pre-installed in kali linux operating system, hence we can boot this tool by entering the name of this tool.
crunch
It does not show all its convenience by executing the help command, so we’ll take help of man command to see all the documentation and usage of this tool.
man crunch
We will create a word list without giving any specific character string using the following command. Understand the first command: in the below command mentions 2 and 3 numeric strings that show the minimum and maximum length of the wordlist character, as well as the “-o” option gives us the output feature.
Usage 🙂 crunch -o .txt
crunch 4 4 -o secnhack.txt
Crunch has successfully generated 456976 number of lines wordlist. We cannot show the entire txt file, so we will show you the first 30 words of the file, giving you an idea of how it works. As you can see below the wordlist starts with aaa and ends at zzzz, which means that the word list starts at our given 4, and ends at 4 length.
cat secnhack.txt
The command will remain the same but only we will add the character “shubham” to our command. This feature has been used to create dictionaries with specific names. Now the crunch tool will create a dictionary using the keywords “shubham” which has 4 minimum characters and 4 maximum characters.
Usage 🙂 crunch -o .txt
crunch 4 4 shubham -o secnhack.txt
As you can see the crunch tool creates a word list with a given minimum and maximum length as well as given characters.
cat secnhack.txt
Similarly, we will take another example to create a separate wordlist.
crunch 4 4 goyal1234 -o secnhack.txt
As you can see that crunch tool make a wordlist based on given characters, you can check the wordlist by using any tool.
cat secnhack.txt
This tool has a wide variety of patterns with which we can create a powerful wordlist.
Using the following command we can create a powerful wordlist in which the given characters will remain constant and the numeric character (pattern) will continue to grow until they equal the given maximum length. We have given the “%” percent symbol three times after the “hack” character which means that the word list will start with “hack000” and end on “hack 999“.
crunch 7 7 -t hack%%% -o new.txt
Great 🙂 !! Happen that we througt ! As you can see that it has successfully create a wordlist.
cat new.txt
As we know that the “^” symbol is given to add special characters to the wordlist so we will only add “^” symbol three times after and right side of the “hack” character.
crunch 7 7 -t hack^^^ -o new.txt
Now you can clearly see that it has created a wordlist with the inclusion of metachacker and symbol.
cat new.txt
Likewise, the “,” symbol is given to add uppercase letters in our wordlist, so we will just add the following symbol in our command and wait for the results.
crunch 7 7 -t hack,,, -o new.txt
Good 🙂 !! Finally the wordlist is prepared with lowercase and uppercase letters.
cat new.txt
The following option is given to divide a large number of wordlist into several wordlist.
crunch 7 7 -t hack%%% -b 3mb -o START
The following option is used to specifies the number of lines to write to output file.
crunch 5 5 hack@1 -c 20 -o secnhack.txt
As you can see that the it create a wordlist of 20 words only that we can read through cat command.
cat secnhack.txt
Suppose if you want to share your wordlist with someone else, then you have to compress it with another tool but through this feature we can create pre-compressed wordlist.
crunch 5 5 hack@1 -z gzip -o secnhack.txt
As you can see the wordlist has been prepared in a compressed format. If you want to decompress it then you can use the following command.
gzip -d secnhack.txt.gz
Now if you want to create a powerful wordlist to crack account password or zip file password then you have to add all kinds of things in your word list like: uppercase, lowercase, symbol, special character number etc. The following example might be to create a powerful wordlist.
crunch 9 9 -t h^2^sh%@, -o ok.txt
As you can see the following output has all kinds of characters and symbols which is a perfect wordlist for performing bruteforce attack.
cat ok.txt
Credit : https://www.kali.org/
The gau (Get All URLs) tool is a versatile open-source utility that collects URLs from…
Jsluice++ is a Burp Suite extension designed for passive and active scanning of JavaScript traffic…
Hey Folks :) !! In this tutorial, we will describe some of the techniques commonly…
Hey Folks :) !! In this article, we present the "Termux Cheat Sheet for Hackers"…
Amid the rapid advancement of technology, the significance of human involvement in cybersecurity frequently goes…
Hey Folks, we are back today after such a long break, but don't worry we…
This website uses cookies.
View Comments
7 คำถามที่คุณอาจกลัวไม่กล้าที่จะถามเกี่ยวกับปัญหาเรื่องสมัครยูฟ่าเบท