[How to] Create a password dictionary – Penetration Testing

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

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.

root@kali:~# crunch

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:

root@kali:~# crunch 8 10 ABCDEFGabcdefg0123456789 –o /root/Desktop/
generatedCrunch.txt
Notice: Detected unicode characters. If you are piping crunch output
to another program such as john or aircrack please make sure that program
can handle unicode input.
Do you want to continue? [Y/n] y
Crunch will now generate the following amount of data: 724845943848960 bytes
691266960 MB
675065 GB
659 TB
0 PB
Crunch will now generate the following number of lines: 66155263819776
AAAAAAAA
AAAAAAAB
AAAAAAAC
AAAAAAAD
AAAAAAAE
AAAAAAAF
AAAAAAAG
AAAAAAAa
AAAAAAAb
AAAAAAAc
……
AAdb6gFe
AAdb6gFf
AAdb6gFg
AAdb6gF0
AAdb6gF1
AAdb6gF2
AAdb6gF3
AAdb6gF4
AAdb6gF5

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:

root@kali:~# nano /root/Desktop/generatedCrunch.txt

After executing the above command, the generatedCrunch.txt file will be opened. The file contains all the passwords generated using the crunch command.

The post [How to] Create a password dictionary appeared first on Penetration Testing.

http://ift.tt/2upLGbH http://ift.tt/2aM8QhC

Anúncios

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s