Files
CyberStrikeAI/tools/nikto.yaml
2025-12-24 23:16:22 +08:00

71 lines
2.2 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: "nikto"
command: "nikto"
enabled: true
# 允许的退出码列表nikto在找到漏洞时会返回退出码1这是正常的成功状态
allowed_exit_codes: [1]
# 简短描述用于工具列表减少token消耗
short_description: "Web服务器扫描工具用于检测Web服务器和应用程序中的已知漏洞和配置错误"
# 工具详细描述
description: |
Web服务器扫描工具用于检测Web服务器和应用程序中的已知漏洞、配置错误和潜在安全问题。
**主要功能:**
- 检测Web服务器版本和配置问题
- 识别已知的Web漏洞和CVE
- 检测危险文件和目录
- 检查服务器配置错误
- 识别过时的软件版本
- 检测默认文件和脚本
**使用场景:**
- Web应用安全评估
- 服务器配置审计
- 漏洞扫描和发现
- 渗透测试前期信息收集
**注意事项:**
- 扫描可能产生大量日志,注意日志管理
- 某些扫描可能触发WAF或IDS告警
- 建议在授权范围内使用
- 扫描结果需要人工验证
# 参数定义
parameters:
- name: "target"
type: "string"
description: |
目标URL或IP地址。可以是完整的URL或IP地址。
**格式要求:**
- 可以包含协议http:// 或 https://
- 可以只提供IP地址或域名
- 如果只提供IP默认使用http协议
**示例值:**
- 完整URL: "http://example.com"
- HTTPS: "https://example.com"
- IP地址: "192.168.1.1"
- 带端口: "http://example.com:8080"
- 带路径: "http://example.com/admin"
**注意事项:**
- 如果只提供IP工具会使用http协议
- 建议提供完整URL以确保正确扫描
- 必需参数,不能为空
required: true
flag: "-h"
format: "flag"
- name: "additional_args"
type: "string"
description: |
额外的nikto参数。用于传递未在参数列表中定义的nikto选项。
**示例值:**
- 根据工具特性添加常用参数示例
**注意事项:**
- 多个参数用空格分隔
- 确保参数格式正确,避免命令注入
- 此参数会直接追加到命令末尾
required: false
format: "positional"