解包某些哈希类型,选择合理的选项并调用 hashcat
NVIDIA 驱动程序在此:http://www.nvidia.co.uk/Download/index.aspx?lang=en-uk
备用邮箱:[email protected](如需支持)
我不确定 NCC 是否有人会继续维护此项目,但我未来会在这个分支中进行积极开发:https://github.com/jamieriden/hashcrack
安装方法:
pip3 install -r requirements.txt
python3 setup.py
如果 Python 不在你的 PATH 中:
<path to python>/python.exe -m pip install -r requirements.txt
<path to python>/python.exe setup.py
这将下载约 30GB 的字典——你已被警告!
对于 7z 文件,你需要 perl 和 Compress::Raw::LZMA,根据你的 perl 发行版,可能需要以下两种方式之一:
ActiveState Perl:
ppm install Compress::Raw::LZMA
Strawberry Perl:
cpan install Compress::Raw::LZMA
运行——各种场景:
常规破解:
python3 hashcrack.py -i <input file>
或:
python3 hashcrack.py --hash <literal hash>
加大力度——使用单词、短语以及之前已破解的密码
python3 hashcrack.py --input <input file> --words --phrases --found
核弹级选项——使用更大的规则和字典
python3 hashcrack.py --input <input file> --nuke
尝试一批常见弱密码:
python3 hashcrack.py -i <input file> --crib dict/dumb.txt
尝试一批常见弱密码(第二部分):
python3 hashcrack.py -i <input file> --mask default.hcmask
使用自定义掩码:
python3 hashcrack.py -i <input file> --mask ?l?l?l?l?l?l
运行已保存为 zip 的 IFM 转储:
python3 hashcrack.py -i <input file.zip> [-t ifm]
另请参阅 test.bat
输入文件可以是 docx、pdf、JKS 文件等。
另请参阅 crackstation 字典 - https://crackstation.net/
如果你的 PATH 中没有 Perl/Python/Java,可以在 hashcrack.cfg 中设置正确的路径——这些路径指向可执行文件本身,而不是可执行文件所在的目录。
===
感谢 https://github.com/berzerk0 提供的一些单词表——这些采用 CC 许可。参见: https://github.com/berzerk0/Probable-Wordlists/tree/master/Real-Passwords
其他使用的单词表包括 Solar Designer 的 openwall_all.txt、Troy Hunt 的 2.75 亿个哈希的破解结果(我做的),以及 breachcompilation.txt——来源不明。(已将后两者合并。)
包含 https://www.7-zip.org/ 的代码——采用 LGPL 许可。感谢大家!
nsav2dive.rule 来自此处——谢谢!https://github.com/NSAKEY/nsa-rules
nsav2dive.rule 的许可:
The Fair License
Copyright (c) 2015 _NSAKEY
允许使用这些作品,前提是保留本许可文件,以便任何使用这些作品的实体都能知晓本许可。
免责声明:这些作品不提供任何担保。
特别感谢 CMIYK 竞赛和 hashes.org 提供的测试数据。