SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Check errorState
bcoles67182358af8d
diff --git a/modules/sfp_iknowwhatyoudownload.py b/modules/sfp_iknowwhatyoudownload.pyindex bd719729..f85faad0 100644--- a/modules/sfp_iknowwhatyoudownload.py+++ b/modules/sfp_iknowwhatyoudownload.py@@ -39,6 +39,7 @@ class sfp_iknowwhatyoudownload(SpiderFootPlugin):def setup(self, sfc, userOpts=dict()):self.sf = sfcself.results = dict()+ self.errorState = False# Clear / reset any other class member variables here# or you risk them persisting between threads.@@ -106,6 +107,9 @@ class sfp_iknowwhatyoudownload(SpiderFootPlugin):self.sf.debug("Received event, " + eventName + ", from " + srcModuleName)+ if self.errorState:+ return None+if self.opts['api_key'] == "":self.sf.error("You enabled sfp_iknowwhatyoudownload but did not set an API key!", False)self.errorState = True