From d73456dac0a2245880f6af1effde9d7b9cf51390 Mon Sep 17 00:00:00 2001 From: ZacharyZcR Date: Tue, 2 Sep 2025 00:12:13 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3WebPOC=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E6=97=A5=E5=BF=97=E7=BA=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题修复: - 将'开始扫描'消息从LogSuccess改为LogDebug级别 - 避免在正常输出中显示调试信息干扰用户 - 在debug模式下仍可查看详细扫描进度 用户体验改进: - info级别输出更加干净,只显示实际结果 - 减少无意义的状态消息,专注核心扫描结果 - debug级别保留完整调试信息供开发者使用 --- plugins/web/webpoc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/web/webpoc.go b/plugins/web/webpoc.go index 677f95c..b9056cd 100644 --- a/plugins/web/webpoc.go +++ b/plugins/web/webpoc.go @@ -32,7 +32,7 @@ func (p *WebPocPlugin) Scan(ctx context.Context, info *common.HostInfo) *WebScan } target := fmt.Sprintf("%s:%s", info.Host, info.Ports) - common.LogSuccess(fmt.Sprintf("WebPOC %s 开始扫描", target)) + common.LogDebug(fmt.Sprintf("WebPOC %s 开始扫描", target)) // 直接执行Web扫描 WebScan.WebScan(info)