skills/tool/nikto-scan/SKILL.md
使用 Nikto 进行 Web 服务器漏洞扫描。当需要检测 Web 服务器的已知漏洞、过时软件版本、危险文件/CGI、配置错误时使用。Nikto 内置 7000+ 检查项,覆盖 OWASP 常见问题。任何涉及 Web 漏洞扫描、服务器安全检查、配置审计的场景都应使用此技能
npx skillsauth add wgpsec/AboutSecurity nikto-scanInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Nikto 是经典的 Web 服务器漏洞扫描器。核心优势:检查项丰富(7000+ 项)+ 开箱即用(无需配置)+ 覆盖面广(过时软件/危险文件/配置错误/已知漏洞)。
项目地址:https://github.com/sullo/nikto
# 扫描单个目标
nikto -h http://target.com
# 指定端口
nikto -h target.com -p 8080
# HTTPS 扫描
nikto -h https://target.com
# 多端口扫描
nikto -h target.com -p 80,443,8080,8443
# 指定扫描类型(Tuning)
# 1=文件上传 2=默认文件 3=信息泄露 4=注入 5=远程获取 6=DoS 7=远程shell 8=命令执行 9=SQL注入
nikto -h http://target.com -Tuning 123489
# 只做信息泄露检查
nikto -h http://target.com -Tuning 3
# 排除 DoS 类检查
nikto -h http://target.com -Tuning x6
# 指定插件
nikto -h http://target.com -Plugins apache_expect_xss,ssl
# 设置最大扫描时间
nikto -h http://target.com -maxtime 300
# Basic Auth
nikto -h http://target.com -id admin:password
# Cookie 认证
nikto -h http://target.com -Add-header "Cookie: session=abc123"
# 自定义 User-Agent
nikto -h http://target.com -useragent "Mozilla/5.0"
# 通过代理
nikto -h http://target.com -useproxy http://127.0.0.1:8080
# 禁用 404 猜测(减少误报)
nikto -h http://target.com -no404
# JSON 输出
nikto -h http://target.com -Format json -output results.json
# HTML 报告
nikto -h http://target.com -Format html -output report.html
# CSV 输出
nikto -h http://target.com -Format csv -output results.csv
# XML 输出
nikto -h http://target.com -Format xml -output results.xml
| 场景 | 命令 |
|------|------|
| 快速扫描 | nikto -h http://target.com -maxtime 120 |
| 全面扫描 | nikto -h http://target.com -Tuning 123456789abc |
| SSL 检查 | nikto -h https://target.com -Plugins ssl |
| 信息泄露 | nikto -h http://target.com -Tuning 3 |
| 带认证扫描 | nikto -h http://target.com -id admin:pass |
testing
Azure 云环境渗透测试总体方法论。当目标使用 Azure/Microsoft 365/Entra ID、发现 Azure 相关资产(Blob Storage/App Service/Azure VM/Azure Functions)、获取 Azure 凭据(Service Principal/Managed Identity/Access Token)、或需要对 Azure 环境进行安全评估时使用。提供从未授权枚举到 Entra ID 攻击、服务提权、Cloud-to-OnPrem 横向移动的全流程决策树。覆盖 35+ Azure 服务攻击面
tools
Mythic C2 操作方法论。当需要部署 Mythic、选择 Mythic Agent、安装 C2 Profile、配置 HTTP/DNS/WebSocket/SMB/TCP 通信、生成 payload、管理回连任务,或把 Mythic 作为跨平台 C2 框架用于授权红队演练时使用。覆盖 mythic-cli 安装、Agent/Profile 选择、SSL 证书配置、payload 构建和基础 OPSEC 判断
development
Docker 安全测试与容器渗透方法论。当需要评估 Docker 容器、Docker Daemon、Docker Registry、镜像层、构建产物或容器逃逸风险时使用。覆盖容器环境识别、特权容器逃逸、docker.sock/Remote API 利用、procfs/cgroup/capabilities 滥用、Docker 用户组提权、运行时/内核 CVE、Registry 枚举、镜像层 Secret 分析和构建上下文泄露。发现 Docker 容器环境、Registry 暴露、镜像凭据或容器配置错误时应使用此技能
development
使用 PadBuster 进行 Padding Oracle 攻击。当发现 Web 应用使用 CBC 模式加密且存在 Padding Oracle 漏洞时使用。PadBuster 可自动解密密文和伪造任意明文对应的合法密文,适用于加密 Cookie/Token/URL 参数。任何涉及 Padding Oracle 攻击、CBC 密文解密、Cookie 伪造的场景都应使用此技能