From 27a37346c1e8a903187c76bdee417a6d3c0037f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E6=98=8E?= <83812544+Ed1s0nZ@users.noreply.github.com> Date: Wed, 24 Dec 2025 23:16:22 +0800 Subject: [PATCH] Add files via upload --- tools/nikto.yaml | 2 ++ tools/wpscan.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tools/nikto.yaml b/tools/nikto.yaml index a06122cf..efa3cd0d 100644 --- a/tools/nikto.yaml +++ b/tools/nikto.yaml @@ -1,6 +1,8 @@ name: "nikto" command: "nikto" enabled: true +# 允许的退出码列表:nikto在找到漏洞时会返回退出码1,这是正常的成功状态 +allowed_exit_codes: [1] # 简短描述(用于工具列表,减少token消耗) short_description: "Web服务器扫描工具,用于检测Web服务器和应用程序中的已知漏洞和配置错误" # 工具详细描述 diff --git a/tools/wpscan.yaml b/tools/wpscan.yaml index 7f1e6ce5..2b316d52 100644 --- a/tools/wpscan.yaml +++ b/tools/wpscan.yaml @@ -1,6 +1,8 @@ name: "wpscan" command: "wpscan" enabled: true +# 允许的退出码列表:wpscan在目标不是WordPress站点时会返回退出码4,这是正常的信息性输出 +allowed_exit_codes: [4] short_description: "WordPress安全扫描器,用于检测WordPress漏洞" description: | WPScan是专门用于WordPress安全扫描的工具,可以检测主题、插件和核心漏洞。