SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfp_crt: Return if JSON parsing fails (#1395)
bcoles319da8b81d63
diff --git a/modules/sfp_crt.py b/modules/sfp_crt.pyindex 2aace393..46d42d37 100644--- a/modules/sfp_crt.py+++ b/modules/sfp_crt.py@@ -103,6 +103,7 @@ class sfp_crt(SpiderFootPlugin):data = json.loads(res['content'])except Exception as e:self.sf.debug(f"Error processing JSON response: {e}")+ returnif data is None or len(data) == 0:return