赞
踩
rar2john 1.rar
获取文件hash。(这个hash需要进行一些裁剪以满足格式,参见下面的连接)
hashcat.exe -m 23700 -a 3 .\rarhash.txt ?1?1?1?1 --custom-charset1 ?u?d
-m后面的数字需要根据不同的hash进行调整,参考以下url。
rarhash.txt内为哈希值,?1代表破解字符长度,?u?d 代表需要大写字母,数字
可以根据需要按下表进行选择
? | Charset
===+=========
l | abcdefghijklmnopqrstuvwxyz [a-z] lower
u | ABCDEFGHIJKLMNOPQRSTUVWXYZ [A-Z] upper
d | 0123456789 [0-9] digit
h | 0123456789abcdef [0-9a-f] hex
H | 0123456789ABCDEF [0-9A-F] hex-upper
s | !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ symbol
a | ?l?u?d?s all-combinatiom
b | 0x00 - 0xff
4位密码,1050ti满载全组合跑了12分钟,
建议:不要将john输出的哈希值直接放在命令行里让hashcat跑,写在文件里面再导入hashcat以避免特殊符号的歧义。
什么nvmlDeviceGetFanSpeed(): Not Supported
Hash '?a?a?a?a': Separator unmatched
No hashes loaded.
都是直接将哈希值放在命令行跑造成的。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。