SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Don't run if errorState == True.
Steve Micallefb23f290cd7e6
diff --git a/modules/sfp_builtwith.py b/modules/sfp_builtwith.pyindex a549f6ae..f4e81dc2 100644--- a/modules/sfp_builtwith.py+++ b/modules/sfp_builtwith.py@@ -39,6 +39,7 @@ class sfp_builtwith(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.@@ -83,6 +84,9 @@ class sfp_builtwith(SpiderFootPlugin):srcModuleName = event.moduleeventData = event.data+ if self.errorState:+ return None+self.sf.debug("Received event, " + eventName + ", from " + srcModuleName)if self.opts['api_key'] == "":diff --git a/modules/sfp_hunter.py b/modules/sfp_hunter.pyindex 6eb40d5f..1838523b 100644--- a/modules/sfp_hunter.py+++ b/modules/sfp_hunter.py@@ -37,6 +37,7 @@ class sfp_hunter(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.@@ -80,6 +81,9 @@ class sfp_hunter(SpiderFootPlugin):srcModuleName = event.moduleeventData = event.data+ if self.errorState:+ return None+self.sf.debug("Received event, " + eventName + ", from " + srcModuleName)# Don't look up stuff twice