How to create a wordlist with Crunch in Kali Linux
In today’s article, we are going to discuss an important topic on how one can create a wordlist with crunch in kali Linux. This is a great knowledge of the technical world. Many of us maybe have some knowledge in networking and security but for those who are not aware of the term wordlist let me explain it in brief. Well, the wordlist is one of the important key part used in the brute force password attack. And if I explain brute force then it can be defined as a password attack method in which an attacker uses a script to login into the targeted account until and unless a positive response is gathered. This practice is done multiple time just one mistake and all your data both personnel as well professional will be achieved by someone not known to you who will make use of that for wrong practices to earn money.
One can say that the brute force attack is overly overt and thus cause proper damage to the configured server so that it can lock out an attacker on their IP mainly. Using this way one can easily check or test the security login on their respective systems. Mainly your server should be able to ban the attackers who try to attack the system using such techniques. They should be reported and a regular survey must be carried out on the increased traffic at once.
But if you talk about the user end then one thing that must be taken care of at most is the password and thus made sure that it’s kept secure. The most important thing that must be understood from all this following is how do such an attack is made able to be performed so that next time a stronger password policy can be enabled. When we talk about Kali Linux then it comes with a powerful tool used for creating a wordlist that can be of any length. This all can be performed using a simple command-line utility known as crunch. This crunch is mainly used for such a purpose due to its easy syntax that can be easily adjusted according to one’s needs. One thing to keep in mind or beware of that these lists can be very large and thus can take up the entire hard drive at once. So, to start we need to go step by step trying to avoid any type of mistake at any point.
Generating a list Crunch in Kali Linux
First of all, to get started open up the terminal. Before that make sure that the crunch is already installed in your device so that it can be combined with the kali. So, all you need to do here is to run the command mentioned below.
# crunch 1 3 0123456789
By this command, there would be a list created of all the possible combination of numbers zero-till nine with the involvement of one, two as well as three characters. To explain more precisely it would be evident to say that the first number is the smallest combination. In such a case it is a small character. At first, all this is mostly considered a bit unrealistic but afterword all this make sense. Now the second number is the longest combination of all the characters present. Now in here, it is three. So now crunch will be able to generate every possible combination with the involvement of three of the main characters provided. Now coming to the last part certain characters crunch make use to form the combinations. One can say that the list is kind of small so it is quite easy to run as soon you start adding more and more characters in and this will increase in combination size. To generate a more realistic list you can make use of this command mentioned below.
# crunch 3 5 0123456789abcdefghijklmnopqrstuvwxyz
The use of this command will create all the possible combination of three, four, five combinations with the number zero through nine and of course using the alphabet of both upper and lower case. This is possible that the password is short but the list will be OfCourse massive. Now if you are having some hardware and well other resources so that you can test the security of the passwords then you may run something like this command mentioned below.
# crunch 3 10 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
Capturing the output:
All that you have seen till now is just outing the numbers on the screen. That is kind of normal and not that much of use. Now you need to generate a text file. The command below will help you in that.
# crunch 3 5 0123456789abcdefghijklmnopqrstuvwxyz -o Documents/pass.txt
# crunch 3 5 0123456789abcdefghijklmnopqrstuvwxyz >> /usr/share/wordlists/
Now just by adding an –o flag you can create a wordlist in a specified destination with a proper text file too.
I hope the steps mentioned above is quite helpful to all my readers.
Ovais Mirza is a professional Blogger and writing for many interesting topics related to Hacking, Gaming, Digital Marketing and Stock Market. Here you will find some interesting tips and tricks related to Hacking and Gaming.
Disclaimer: The articles has been written for educational purpose only. We don’t encourage hacking or cracking. In fact we are here discussing the ways that hackers are using to hack our digital assets. If we know, what methods they are using to hack, we are in very well position to secure us. It is therefore at the end of the article we also mention the prevention measures to secure us.