Update scan.go

This commit is contained in:
公明 2025-04-25 12:55:25 +08:00 committed by GitHub
parent 69511781d9
commit 949841a499
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,7 +197,7 @@ func sendHTTPAndKimi(r *RequestResponseLog) (result, reqA, reqB, respA, respB st
// 将响应体转换为字符串
resp2 := string(bodyBytes)
if len(resp1+resp2) < 65535 {
if len(resp1+resp2) < 1048576 {
if !MatchString(config.GetConfig().RespBodyBWhiteList, resp2) {
similarity := StringSimilarity(resp1, resp2)
if similarity > 0.5 {