Create Wordlist for Brute Force Attack

A word list is a text file containing a collection of words for use in a dictionary attack. We will be using crunch for creating a wordlist in Kali Linux. To create a wordlist, you need to have Kali Linux OS. Note: This article is only for educational purposes. 

  • To Install Kali Linux in the VM - Click Here
  • Open Terminal or Terminator.
  • Check for updates using the sudo apt update command.
  • Syntax:

crunch [min] [max] [characters] -o [filename]

    • min: Define integer saying a minimum number of characters in a word.
    • max: Define integer saying a maximum number of characters in a word.
    • characters: Define characters that will be used to create all the combinations with that words, under the defined minimum and maximum length.
    • filename: Define the name of the file which will be your output file name followed by .txt.
  • For Example, create a wordlist using the letters which can be used to create a word hackhunt with all the possible combination with a minimum of 8 letters and a maximum of 10 letters and save it to a file name wordlist.txt.

crunch 8 10 hkcantu -o wordlist.txt

  • If you want to create all the possible combinations with certain patterns, you can add -t [pattern].
  • For example, create a wordlist with all the possible mobile numbers (10-digit) starting from 9 and save it to a wordlist.txt (this wordlist can be used to hack Wi-Fi, as most Indians have some kind of mobile numbers as Wi-Fi Password and most of them start from 9)

crunch 10 10 1234567890 -t 9@@@@@@@@@ -o wordlist.txt

You can do man crunch, to check all the available options.

Video Tutorial 

We hope this helps. If any suggestions or doubts you can add a comment and we will reply as soon as possible.

No comments:

Post a Comment