NeiveZ/Hash-Toolkit

GitHub: NeiveZ/Hash-Toolkit

HSHX 是一个哈希分析与受控破解工作流辅助工具,帮助用户识别哈希类型、验证密码候选并生成破解工具命令模板。

Stars: 0 | Forks: 0

# HSHX ![Python](https://img.shields.io/badge/Python-3.10+-3776AB?style=flat-square&logo=python&logoColor=white) ![类别](https://img.shields.io/badge/Category-Hash%20Analysis-9333ea?style=flat-square) ![界面](https://img.shields.io/badge/Interface-Direct%20CLI-brightgreen?style=flat-square) ![许可证](https://img.shields.io/badge/License-MIT-blue?style=flat-square) ## 概述 HSHX 可帮助识别哈希格式、验证候选密码,并组织受控的破解工作流。 本项目适用于实验室、CTF、内部审计以及授权的密码安全验证。 ## 功能 - 哈希类型识别。 - 单个哈希验证。 - 基于文件的哈希加载。 - 基于字典的验证。 - Hashcat/John 命令模板生成。 - 掩码输出。 - JSON/TXT 报告。 - 破解工作流的安全门控。 ## 安装 ``` git clone https://github.com/NeiveZ/Hash-Toolkit.git cd Hash-Toolkit chmod +x hshx.sh ./hshx.sh --install ``` 验证: ``` ./hshx.sh --check ``` 如果可用,运行测试: ``` python3 -m pytest -q ``` 可选工具: ``` sudo apt update sudo apt install hashcat john -y ``` ## 用法 ``` ./hshx.sh [options] ``` 帮助: ``` ./hshx.sh --help ``` ## 命令 ### 识别哈希 ``` ./hshx.sh identify -H "5f4dcc3b5aa765d61d8327deb882cf99" ``` ### 验证候选密码 ``` ./hshx.sh verify -H "5f4dcc3b5aa765d61d8327deb882cf99" -p "password" ``` ### 使用字典验证 ``` ./hshx.sh wordlist -H "5f4dcc3b5aa765d61d8327deb882cf99" -w wordlist.txt --authorized ``` ### 生成破解模板 ``` ./hshx.sh template -H hashes.txt --tool hashcat ``` ### 分析哈希文件 ``` ./hshx.sh analyze -f hashes.txt --json --txt --out reports/hashes ``` ## 推荐流程 1. 识别可能的哈希类型: ``` ./hshx.sh identify -H "$HASH" ``` 2. 验证已知候选密码: ``` ./hshx.sh verify -H "$HASH" -p "$CANDIDATE" ``` 3. 生成安全的工具模板: ``` ./hshx.sh template -f hashes.txt --tool hashcat ``` 4. 仅在授权的实验室中运行破解。 ## 输出示例 ``` HSHX Hash Summary Input single hash Candidates 4 Results Severity Hash Type Confidence Detail INFO MD5 HIGH 32 hex characters INFO NTLM POSSIBLE 32 hex characters OK Verification MATCH Candidate matched locally ``` ## 安全性 HSHX 必须仅用于您拥有或经授权测试的哈希。请勿处理窃取的凭据资料。 ## 许可证 MIT 许可证。
标签:DOS头擦除, Python, 哈希分析, 哈希识别, 安全规则引擎, 密码安全, 密码破解, 应用安全, 无后门