Joziazf/password_auditor

GitHub: Joziazf/password_auditor

一款轻量级命令行密码安全审计工具,提供密码强度评分、哈希生成与识别、以及字典攻击功能。

Stars: 0 | Forks: 0

# 密码审计器 用于密码分析和 hash 破解的 CLI 安全工具。 ## 功能 - **密码强度分析** — 检查长度、字符多样性,评分 0–6 - **Hash 生成** — MD5, SHA1, SHA256, SHA512 - **Hash 识别** — 基于模式的检测(针对长度/格式使用 regex) - **字典攻击** — 使用 wordlist 对 hash 进行暴力破解 ## 安装 - git clone https://github.com/Joziazf/password_auditor - cd password_auditor - pip install -r requirements.txt ## 用法 ### 分析密码强度 password-auditor analyze --password 'MyPassword123!' ### 生成 hash password-auditor hash --password 'dragon' --algorithm md5 ### 识别 hash 类型 password-auditor identify --hash '8621ff...' ### 字典攻击 password-auditor crack --hash '8621ff...' --algorithm md5 --wordlist wordlists/test.txt ### 测试: pytest ## 支持的算法 - MD5, SHA1, SHA256, SHA512 ## 已知限制 - Hash 识别是基于模式的(长度/格式),并非密码学上绝对准确——这种方式无法区分 MD5 和 NTLM。 - 字典攻击目前仅支持 **unsalted** 的 hash。暂不支持 salted 的 hash(`salt:hash` 格式,PBKDF2,bcrypt)。 - 不支持彩虹表或基于规则的变异——纯字典查找。
标签:Python, SysWhispers, 安全规则引擎, 密码审计, 密码强度分析, 文档结构分析, 无后门, 逆向工具