[How to] Create a password dictionary
Password dictionary is mainly used in conjunction with password cracking software, the password dictionary includes many people habitually set the password. This can improve the password crack software password cracking success rate and hit rate, shorten the password crack time. Of course, if a person password is not regular or very complex, not included in the password dictionary, the dictionary is useless, and even extend the time required for password cracking. In Linux there are Crunch tools, you can create a password dictionary. For the convenience of users, this section describes how to use Crunch tools.
Crunch is a tool for creating a password dictionary that is commonly used for violent cracking. The password generated using the Crunch tool can be sent to the terminal, file, or another program. The following describes the use of Crunch tool to create a password dictionary.
Use Crunch to generate a dictionary. The specific steps are as follows.
Start the crunch command. Execute the command as shown below.
The output information shows the version and syntax of the crunch command. The syntax for generating the password using the crunch command is as follows:
crunch [minimum length] [maximum length] [character set] [options]
The common options for the crunch command are shown below.
- -o: Specifies the location of the output dictionary file.
- -b: Specifies the maximum number of bytes to write to the file. The size can be specified KB, MB, or GB, but must be used with the -o START option.
- -t: Sets the special format used.
- -l: This option is used to identify some of the characters of the placeholder when the -t option specifies @,%, or ^.
(2) Create a password list file and save it on the desktop. The minimum length of the generated password list is 8, the maximum length is 10, and the ABCDEFGabcdefg0123456789 is used as the character set. Execute the command as follows:
From the above output of the information, you can see will generate 659TB large files, a total of 66155263819776 line. After the above command is executed, a dictionary file named generatedCrunch.txt will be generated on the desktop. Since the combination of generated more passwords, it takes a long time.
the password dictionary file is generated, use the Nano command to open.Execute the command as follows:
After executing the above command, the generatedCrunch.txt file will be opened. The file contains all the passwords generated using the crunch command.