Install
openclaw skills install credential-auditorClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
自动化凭证安全审计工具,支持设备默认密码匹配、密码字典生成和多协议暴力破解测试
openclaw skills install credential-auditorCredential Auditor 是为安全工程师设计的自动化凭证安全审计技能,帮助你在使用 OpenClaw 进行安全测试时,智能化地进行密码安全评估和漏洞检测。
用户:"帮我检查这个路由器的默认密码安全性,IP是192.168.1.1"
→ 自动识别设备类型
→ 查询默认密码库
→ 尝试默认凭证登录测试
→ 生成安全评估报告
用户:"为TechCorp公司生成一份密码安全测试字典"
→ 收集企业信息(公司名、年份、地点)
→ 应用密码生成规则
→ 生成定制化测试字典
→ 提供密码强度分析
用户:"测试目标服务器192.168.1.100的SSH密码强度"
→ 检查目标可达性
→ 选择合适的测试字典
→ 执行多线程密码测试
→ 生成测试报告和建议
当用户提出安全测试需求时,技能会自动:
识别测试类型
智能参数配置
结果分析报告
# 列出所有支持的设备类型
python scripts/device_matcher.py --list-devices
# 查询路由器默认密码
python scripts/device_matcher.py --device-type router --brand Cisco
# 查询IP摄像头默认密码
python scripts/device_matcher.py --device-type camera --brand Hikvision
# 基于规则生成
python scripts/wordlist_generator.py --rule-based \
--target-info "company:TechCorp,year:2024,location:Beijing" \
--output custom_wordlist.txt
# 社会工程学生成
python scripts/wordlist_generator.py --social-eng \
--name "John" --birthday "1990-01-15" \
--company "TechCorp" \
--output social_wordlist.txt
# SSH密码测试
python scripts/brute_force.py --protocol ssh \
--target 192.168.1.100 --port 22 \
--userlist references/usernames.txt \
--passlist references/passlist.txt
# 使用默认密码测试
python scripts/brute_force.py --protocol ssh \
--target 192.168.1.1 \
--use-default-passwords \
--device-type router
# 检查工具安装状态
python scripts/tool_integration.py --check-tools
# 使用Hydra进行测试
python scripts/tool_integration.py --tool hydra \
--protocol ssh --target 192.168.1.100 \
--userlist references/usernames.txt \
--passlist references/passlist.txt
references/device_passwords.json - 500+ 设备默认凭证references/password_rules.json - 智能密码生成规则references/protocol_configs.json - 协议测试参数配置references/usernames.txt - 常用用户名字典references/passlist.txt - 通用密码字典pip install paramiko requests colorama
# macOS
brew install hydra medusa ncrack
# Ubuntu/Debian
sudo apt-get install hydra medusa ncrack
# Windows
# 从官方网站下载对应工具
========================================
凭证安全审计报告
========================================
目标: 192.168.1.100
协议: SSH
测试时间: 2026-03-30 11:00:00
测试统计:
- 总尝试次数: 1000
- 成功次数: 2
- 失败次数: 998
- 测试耗时: 120.5秒
发现的有效凭证:
1. admin:admin123
2. root:password
安全建议:
- 立即修改默认密码
- 启用账户锁定策略
- 实施密码复杂度要求
- 启用双因素认证
========================================
A: 编辑 references/device_passwords.json,按照现有格式添加新设备。
A: 编辑 references/password_rules.json,添加自定义规则和模式。
A: 增加线程数(--threads),或使用 Hydra 等专业工具。
A: 所有测试数据仅保存在本地,建议测试完成后及时删除敏感数据。
使用此技能即表示你同意遵守所有适用的法律法规,并仅在授权范围内进行安全测试。