mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-23 03:31:53 +08:00
feat: 优化日志颜色方案,区分漏洞和普通信息
- 新增 LogVuln 级别(红色),用于漏洞和重要发现 - 密码爆破成功、未授权访问、POC漏洞等改用红色显示 - 普通信息(扫描统计等)改为白色 - Web指纹保持绿色
This commit is contained in:
@@ -133,7 +133,7 @@ func CheckMultiPoc(req *http.Request, pocs []*Poc, workers int, pocCtx *POCConte
|
||||
}
|
||||
|
||||
// 输出成功日志
|
||||
common.LogSuccess(logMsg)
|
||||
common.LogVuln(logMsg)
|
||||
}
|
||||
}
|
||||
}()
|
||||
@@ -655,7 +655,7 @@ func recordVulnerabilityResult(targetURL string, pocDef *Poc, params StrMap, ski
|
||||
}
|
||||
|
||||
// 输出成功日志
|
||||
common.LogSuccess(logMsg)
|
||||
common.LogVuln(logMsg)
|
||||
}
|
||||
|
||||
// isFuzz 检查规则是否包含需要Fuzz测试的参数
|
||||
|
||||
Reference in New Issue
Block a user