This commit is contained in:
Miroslav Štampar
2026-09-18 00:41:57 +02:00
parent fa96906f76
commit bda62dcf28
5 changed files with 117 additions and 4 deletions
+5
View File
@@ -376,6 +376,11 @@ def start():
for targetUrl, targetMethod, targetData, targetCookie, targetHeaders in kb.targets:
targetCount += 1
# --report-json: give each target its own taskid in the shared collector, so a multi-target
# run (e.g. '-m' bulk file) doesn't have later targets overwrite earlier ones (see _reportData)
if conf.reportJson:
kb.reportTaskId = targetCount
try:
if conf.checkInternet:
infoMsg = "checking for Internet connection"