From 3164c16a7320c7b32ef2a7ab11b3ed5b3bac4486 Mon Sep 17 00:00:00 2001 From: hktalent <18223385+hktalent@users.noreply.github.com> Date: Wed, 11 Oct 2023 11:44:10 +0800 Subject: [PATCH] fixed webscan 2023-10-11 --- webScan/Functions/Final.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webScan/Functions/Final.go b/webScan/Functions/Final.go index d85cda7b9..4579a09c8 100644 --- a/webScan/Functions/Final.go +++ b/webScan/Functions/Final.go @@ -141,8 +141,7 @@ func final_ALLurl_ALLJson(urllist *[]string) { for i := 0; i < size; i++ { jobs_url <- (*urllist)[i] } - for i := 0; i < size; i++ { - res := <-allresult + for res := range allresult { for key, res_tmp := range res.res { if res_tmp == true { util.SendLog(res.url, "webScan", res.exp_name[key], "")