Hashcat
$ hashcat 官方出品 高风险Hashcat(hashcat)利用 OpenCL/CUDA/Metal 硬件加速对 300 余种哈希算法进行口令强度审计与恢复。支持 --show、--machine-readable 与 --status-json,但默认启用交互式键盘状态界面,会将破解出的明文写入 potfile,且高度依赖本机 GPU 驱动。
brew install hashcat hashcat 直接调度本机 GPU/CPU 计算内核处理大体积哈希与字典文件,必须在本地通过 CLI 运行。
Agent 友好度体检单
当前为静态评估(本机尚未安装或尚未运行探针)。可在本地运行 npm run data:probe 并提交 data/probes/ 升级为实测证据。
FCRS-1.0 六维评分拆解
支持 --status-json 与 --machine-readable,但默认键盘交互状态、会话文件以及非 JSON 的 --show 输出增加了无头编排复杂度。
- Provides
--status-jsonand--machine-readable --showoutput is colon-delimited text; interactive keyboard status by default
高风险凭据恢复工具,默认将破解明文持久化至 hashcat.potfile,且容易占满宿主机 GPU 资源。
- Persists cracked plaintext secrets into
hashcat.potfileunless disabled - Heavy GPU/thermal resource consumption
可通过 brew 与官方二进制安装,但实际性能依赖宿主机的 OpenCL/CUDA/Metal 驱动支持。
- Requires compatible OpenCL/CUDA/Metal drivers on host
性能最强的开源口令哈希审计工具,但长时任务更适合后台监督而非同步阻塞调用。
- 300+ hash modes with GPU acceleration
由 hashcat/hashcat 以 MIT 协议持续维护。
- Official
hashcat/hashcatrepository
Wiki 与 --example-hashes 示例完善,但数百种 -m 哈希编号需查阅确认。
- Wiki and built-in
--example-hashestable
安全边界、鉴权与放权指南
无远程认证;除非传入 --potfile-disable,否则会将已恢复的明文口令写入 ~/.local/share/hashcat/hashcat.potfile。
MIT 开源 CLI,在自有 CPU/GPU 硬件上免费运行。
# Hashcat (hashcat) Agent Rules - Only audit hash dumps you are explicitly authorized to test. - Use `--potfile-disable` or an explicit `--potfile-path` and `--status --status-json` in headless shells; never dump cracked plaintext passwords into shared logs.
Agent 高频安全命令配方
只读查询(安全推荐)
hashcat -m 0 --show hashes.txt
使用 --show 将 hashes.txt 与现有 potfile 记录比对,不启动 GPU 爆破任务。
受控写入与预演
hashcat -m 0 -a 0 --status --status-json --status-timer=10 --potfile-disable -o /tmp/cracked.txt hashes.txt wordlist.txt
运行字典模式(-a 0)并开启 --status-json 进度遥测,使用 --potfile-disable 禁用全局缓存并将结果写入 /tmp/cracked.txt。
核心优势
- +
--status-json提供机器可读的进度、算力速度与预计剩余时间遥测。 - + 原生支持 300+ 种哈希模式与 GPU 硬件加速。
注意事项与踩坑点
- ! 若未设置
--potfile-disable,恢复的明文密码会自动落盘保存在hashcat.potfile中。 - ! 缺少 GPU/OpenCL 运行时的无头容器可能直接报错或退化缓慢,且长时任务易触发命令超时。