fix: 修正WebPOC插件日志级别

问题修复:
- 将'开始扫描'消息从LogSuccess改为LogDebug级别
- 避免在正常输出中显示调试信息干扰用户
- 在debug模式下仍可查看详细扫描进度

用户体验改进:
- info级别输出更加干净,只显示实际结果
- 减少无意义的状态消息,专注核心扫描结果
- debug级别保留完整调试信息供开发者使用
This commit is contained in:
ZacharyZcR 2025-09-02 00:12:13 +00:00
parent 46cfa2a64d
commit d73456dac0

View File

@ -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)