hashcat參數(shù)中如果使用混合攻擊?
首先可以先用maskprocessor工具生成字典,如生成test00-test99,然后字使用模式1進(jìn)行破解:
woo@iMac hashcat % mp64 test?d?d > words2.txt
woo@iMac hashcat % cat words1.txt
password
pass
P@ss
P@ssw0rd
abc
123456
abcdefg
abcd
woo@iMac hashcat % hashcat -m 0 -a 1 hash.txt words1.txt words2.txt
...............
...............
ef389023236ccaad4e16877572c6badc:passtest45 # 破解成功
Session..........: hashcat
Status...........: Cracked
Hash.Type........: MD5
Hash.Target......: ef389023236ccaad4e16877572c6badc
Time.Started.....: Thu Jun 18 16:09:55 2020 (0 secs)
Time.Estimated...: Thu Jun 18 16:09:55 2020 (0 secs)
Guess.Base.......: File (words1.txt), Left Side
Guess.Mod........: File (words2.txt), Right Side
Speed.Dev.#2.....: 111.8 kH/s (0.59ms) @ Accel:64 Loops:25 Thr:256 Vec:1
Recovered........: 1/1 (100.00%) Digests, 1/1 (100.00%) Salts
Progress.........: 400/800 (50.00%)
Rejected.........: 0/400 (0.00%)
Restore.Point....: 0/8 (0.00%)
Candidates.#2....: passwordtest25 -> abcdtest49
Started: Thu Jun 18 16:09:54 2020
Stopped: Thu Jun 18 16:09:56 2020
woo@iMac hashcat %