Simple use of the password dictionary generation tool crunch

Source: Internet
Author: User
Case 1: crunch 1 8 # generate a minimum of 1 bits and a maximum of 8 bits. Case 2: crunch 1 6 abcdefg # generate a minimum of 1, the maximum value is 6. case 3: crunch 1 6 abcdefg \ # generate a minimum value of 1 and a maximum value of 6. case 4: crunch 1 8-F charset. LST mixalpha-Numeric-all-space-O wordlist.txt # Call the password library charset. lst. The minimum value is 1, the maximum value is 8, and the element is the charset of the password library. in lst, The mixalpha-Numeric-all-space project is saved as wordlist.txt, where charset. the lst directory in kali_linux is/usr/share/crunch/charset. LST, Charset. in lst, The mixalpha-Numeric-all-space project contains the most common element combinations (uppercase and lowercase letters, numbers, and common symbols);> for more information, see CAT/usr/share/crunch/charset. use lst to view all cryptographic libraries. Case 5: crunch 8 8-F charset. LST mixalpha-Numeric-all-space-O wordlist.txt-t @ dog @-s cbdogaaa # Call the password library charset. LST, which generates an 8-bit password. The element is the character set of the password library. mixalpha-Numeric-all-space in lst. The format is "two lower-case letters + dog + three lower-case letters" and starts enumeration with cbdogaaa (@ indicates lower-case letters) case 6: crunch 2 3-F charset. LST ualpha-s BB # Call the password library charse T. the lst generates two and three passwords. The element is the character set of the password library. ualpha entry in lst. In case 7: crunch 4 5-p abc # crunch, ABC, ACB, Bac, BCA, cab, CBA, although numbers 4 and 5 are useless here, there must be case 8: crunch 4 5-P Dog Cat bird # crunch will generate all combinations of passwords with "dog" "cat" and "bird" as elements: birdcatdog, birddogcat, catbirddog, catdogbird, dogbirdcat, dogcatbird case 9: crunch 1 5-o start-C 6000-Z Bzip2 # generate a password dictionary with a minimum value of 1 and a maximum of 5 Characters containing all lowercase letters, each dictionary file contains 6000 passwords, and the password file is saved as the bz2 file. The file name will be "The First password" + "-" + "Last password" + ".txt.bz2" (for example, 000-999.txt.bz2); below is a comparison of the time and volume used to generate compressed files in several formats: # Time. /crunch 1 4-o start-C 6000-Z gzip real 0m2. 729 s user 0m2. 216 s sys 0m0. 360 s # Time. /crunch 1 4-o start-C 6000-Z Bzip2 real 0m3. 414 s user 0m2. 620 s sys 0m0. 580 s # Time. // crunch 1 4-o start-C 6000-Z lzma real 0m43. 060 s user 0m9. 965 s sys 0m32. 634 s size filename 30 K aaaa-aiwt.txt 12 K aaaa-aiwt.txt.gz 3.8 K aaaa- Aiwt.txt.bz2 1.1 K aaaa-aiwt.txt.lzma case 10: crunch 4 5-B 20mib-o start # generate a password dictionary with a minimum of 4 bits and a maximum of 5 bits for all lowercase letters, and separated by 20 m; then 4 files will be generated: aaaa-gvfed.txt, gvfee-ombqy.txt, ombqz-wcydt.txt, wcydu-zzzzz.txt: where the first three about each 20 m, the last 10 m around (because a total of 70 m) case 11: crunch 4 4 + + 123 +-T % @ ^ # generate a four-digit password, the format is "two digits" + "One lowercase letter" + "common symbols" (the number can only be a combination of all two digits consisting of 123 ). For example, 12f # 32j ^ 13 T $ ...... case 12: crunch 3 3 ABC + 123 @#! -T @ % ^ # generate a three-digit password, with the first digit being one of "A, B, C" and the second digit being one of "1, 2, 3; the third digit is "!,. For example, 1a! 2a # [email protected]... Case 13: crunch 3 3 ABC + 123 @#! -T ^ % @ # generate a three-digit password in the format of "character + digit + Letter". The character range here is! @ #, The number range is 1 2 3, and the letter range is a B C, for example! 1c @ 3B @ 2a ...... case 14 crunch 5 5-T [email protected] @-P Dog Cat bird # generate a password consisting of five elements. The first three are arbitrary combinations of Dog Cat bird, any combination of the last two lowercase letters. For example, birddogcatuz catdogbirdab birdcatdogff ...... case 15: crunch 7 7-T [email protected], % ^-L [email protected] # generate a 7-bit password, the format is "[email protected]" + uppercase letters + numbers + symbols, for example [Email protected]> ......Case 16: crunch 5 5-S @ 4 # S2-t @ % ^, %-E @ 8 Q2-l @ dddd-B 10kb-o start # generate a 5-bit password, the format is lowercase letters, numbers, symbols, uppercase letters, and numbers. It starts with @ 4 # S2 and is 10 kb in size... Case 17: crunch 5 5-d [email protected]-T %%%# generate a 5-digit password in the format of three letters + two numbers, and restrict each password to contain at least 2 letters. Case 18: crunch 10 10-t @ ^ % ^-d [email protected]-D 3%-B 20 mb-o start # generate a 10-bit password, the format is three lower-case letters + one symbol + four digits + two symbols. Each password must contain at least two letters and at least three numbers. Case 19: crunch 8 8-d [email protected] # generate an 8-bit password. Each password must contain at least two types of letters. Case 20: crunch 4 4-F unicode_test.lst the-Greeks-T %-l @ xdd # Call the-Greeks project character in the password library unicode_test.lst to generate a four-digit password, the format is two lower-case letters + two numbers. Similarly, in kali_linux, unicode_test.lst has read so many cases in the/usr/share/crunch directory to check whether the command parameters are suddenly open-minded! Command Parameter:-B # volume size, for example, followed by 20 MIB-C # number of passwords (number of lines), for example, 8000-D # limit the number of identical elements (at least the number of elements ), -D 3 won't show-e # definition like zzf ffffgggg stop generating password, for example-e 222222: To 222222 stop generating password-F # Call the password library file, for example,/usr/share/crunch/charset. LST-I # change the output format-L # Use-M with-T # Use-P with-o # Save As-P # define password element-Q # Read dictionary- R # define a new start from a certain place-s # The first password, starting from XXX-T # define the output format @ stands for lower-case letters, representing upper-case letters % stands for numbers ^ stands for symbols

-Z# Package compression. The format supports gzip, Bzip2, lzma, and 7z.

===========================

By the way, pay attention to the size of the dictionary generation, and be careful to crash the disk!

The generated txt is about 1787 TB in a combination of 8-bit English + arrays.


Simple use of the password dictionary generation tool crunch

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.