From 1baf0eb5e19903fd7bd7bf92a26557cb969cedd0 Mon Sep 17 00:00:00 2001 From: yyhuni Date: Sat, 27 Dec 2025 12:29:50 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=8C=87=E7=BA=B9=E6=89=AB?= =?UTF-8?q?=E6=8F=8F=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/apps/scan/configs/command_templates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/apps/scan/configs/command_templates.py b/backend/apps/scan/configs/command_templates.py index 1942bd06..e96fa872 100644 --- a/backend/apps/scan/configs/command_templates.py +++ b/backend/apps/scan/configs/command_templates.py @@ -230,10 +230,10 @@ VULN_SCAN_COMMANDS = { FINGERPRINT_DETECT_COMMANDS = { 'xingfinger': { # 流式输出模式(不使用 -o,输出到 stdout) - # -f: URL 列表文件输入 + # -l: URL 列表文件输入 # -s: 静默模式,只输出命中结果 # --json: JSON 格式输出(每行一条) - 'base': "xingfinger -f '{urls_file}' -s --json", + 'base': "xingfinger -l '{urls_file}' -s --json", 'optional': { # 自定义指纹库路径(当前只实现 ehole,以后扩展其他) 'ehole': '--ehole {ehole}',