SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sf: allow 60 seconds for post-scan correlations to complete (#1818)
bcoles1a9bcd79ef39
diff --git a/sf.py b/sf.pyold mode 100755new mode 100644index b59b6c95..b16f2df9--- a/sf.py+++ b/sf.py@@ -442,6 +442,13 @@ def start_scan(sfConfig: dict, sfModules: dict, args, loggingQueue) -> None:if not info:continueif info[5] in ["ERROR-FAILED", "ABORT-REQUESTED", "ABORTED", "FINISHED"]:+ # allow 60 seconds for post-scan correlations to complete+ timeout = 60+ p.join(timeout=timeout)+ if (p.is_alive()):+ log.error(f"Timeout reached ({timeout}s) waiting for scan {scanId} post-processing to complete.")+ sys.exit(-1)+if sfConfig['__logging']:log.info(f"Scan completed with status {info[5]}")if args.o == "json":