Installation
- Tar zxvf crunch-3.6.tgz
- CD crunch-3.6
- gcc-wall-lm-pthread-std=c99-m64-d_largefile_source-d_file_offset_bits=64 Crunch.c-o CRUNCH-LM
- Make install
Use
- Crunch 1 8
- #生成最小1位, maximum 8 bits, all combinations of 26 lowercase letters as elements
- Crunch 1 6 ABCDEFG
- #生成 minimum is 1 and the maximum is 6. All combinations of elements by ABCDEFG
- Crunch 1 6 abcdefg\
- #生成 minimum is 1 and the maximum is 6. All combinations of elements by ABCDEFG and spaces (/for spaces)
- Crunch 1 8-f charset.lst mixalpha-numeric-all-space-o wordlist.txt
- #调用密码库 Charset.lst, generates a minimum of 1, a maximum of 8, an element that is mixalpha-numeric-all-space in the cipher library Charset.lst, and is saved as a wordlist.txt; Charset.lst in Kali_linux directory for/usr/share/crunch/charset.lst, Charset.lst The Mixalpha-numeric-all-space project contains the most common combinations of elements (i.e. uppercase and lowercase letters + numbers + common symbols)
- Crunch 8 8-f charset.lst mixalpha-numeric-all-space-o wordlist.txt-t @@dog @@@-s cbdogaaa
- #调用密码库 Charset.lst, generates a 8-bit password, where the element is an item mixalpha-numeric-all-space in the Vault Charset.lst, in the format "two lowercase letters +dog+ three lowercase letters", And start the enumeration with CBDOGAAA (@ for lowercase letters)
- Crunch 2 3-f charset.lst Ualpha-s BB
- #调用密码库charset. LST, generates 2-bit and 3-bit passwords, where elements are ualpha entries in the Vault Charset.lst; and start with BB
- Crunch 4 5-p ABC
- #crunch将会生成abc, ACB, BAC, BCA, Cab, CBA, although the numbers 4 and 5 are useless here, but must have
- Crunch 4 5-p Dog cat Bird
- #crunch将生成以 "Dog" "Cat" "Bird" for all cipher combinations of elements: Birdcatdog,birddogcat,catbirddog, Catdogbird, Dogbirdcat, Dogcatbird
- Crunch 1 5-o start-c 6000-z bzip2
- # Generates a password dictionary with a minimum of 1 bits and a maximum of 5-bit elements for all lowercase letters, where each dictionary file contains 6,000 passwords and the password file is saved as a bz2 file, and the file name will be "first password" + "-" + "Last password" + ". txt.bz2" Save (for example 000-9 99.TXT.BZ2); The following is a comparison of the time and volume sizes used to generate compressed files in several formats:
- Crunch 4 5-b 20mib-o START
- # Generates a password dictionary with a minimum of 4 bits and a maximum of 5 elements for all lowercase letters and is split with 20M, and 4 files are generated: Aaaa-gvfed.txt, Gvfee-ombqy.txt, Ombqz-wcydt.txt, Wcydu-zzzzz.txt: Of which the first three probably each 20M, the last 10M or so (as a total of 70M)
- Crunch 4 4 + + 123 +-T%%@^
- #生成4位密码, where the format is "two numbers" + "a lowercase letter" + "common Symbols" (where numbers are specified here only for 123 combinations of all 2-bit numbers). such as 12f# 32j^ 13t$ ...
- Crunch 3 3 ABC + 123 @#!-T @%^
- #生成3位密码, the first of which is one of "a,b,c"; the second is one of "three-and-three"; the third is "! , one of the @,# ". Like 1a!. 2a# [email protected] ...
- Crunch 3 3 ABC + 123 @#!-T ^%@
- #生成3位密码, where the format is "character + number + letter", where the character range is! @#, the number range is 1 2 3, the letter range is a b C for example! 1c @3b @2a ...
- Crunch 5 5-t [email protected]@-P dog Cat Bird
- #生成5个元素组成的密码, where the first three are any combination of dog cat bird, and the latter two are any combination of two lowercase letters. such as Birddogcatuz Catdogbirdab birdcatdogff ...
- Crunch 7 7-t P@ss,%^-L a@aaaaa
- #生成7位密码, formatted as "character [email protected]" + Capital letters + numbers + symbols such as [email protected]> ...
- Crunch 5 5-s @4#S2-T @%^,%-e @8 q2-l @dddd-B 10kb-o START
- #生成5位密码, the format is lowercase + number + sign + Capital Letter + number, and start with @4#s2, split into 10k size ...
- Crunch 5 5-d [email protected]-T @@@%%
- #生成5位密码, formatted with three letters + two digits, and restricts each password to a minimum of 2 letters
- Crunch 10-t @@@^%%%% ^^-D [email protected]-D 3%-B 20mb-o START
- #生成10位密码, formatted with three lowercase letters + one symbol + four digits + two symbols, with a limit of at least 2 letters and at least 3 numbers per password
- Crunch 8 8-d [email protected]
- #生成8位密码, there are at least two letters of each password
- Crunch 4 4-f unicode_test.lst the-greeks-t @@%%-l @xdd
- #调用密码库 the The-greeks project character in Unicode_test.lst, generates a 4-bit password with two lowercase letters + two digits in the same kali_linux unicode_test.lst in the/usr/share/crunch directory
- -B #体积大小, e.g. followed by 20mib
- -C #密码个数 (number of rows), such as 8000
- -D #限制出现相同元素的个数 (at least the number of elements), and-D 3 will not appear zzf ffffgggg.
- -e #定义停止生成密码, such as-e 222222: To 222222 stop generating passwords
- -F #调用密码库文件, such as/usr/share/crunch/charset.lst
- -I. #改变输出格式
- -L #与-T paired with
- -m #与-p paired with
- -O #保存为
- -P #定义密码元素
- -q #读取字典
- -R #定义从某一个地方重新开始
- -S #第一个密码, starting from xxx
- -T #定义输出格式
- @ Stands for lowercase letters
- , representing capital letters
- % represents numbers
- ^ Delegate symbol
- -Z #打包压缩, format support gzip, bzip2, LZMA, 7z
Linux Dictionary Generation tool crunch