SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Don't continue on repeated errors.
root850ca7cd5546
diff --git a/modules/sfp_gotcha.py b/modules/sfp_gotcha.pyindex 2533f292..81e747fd 100644--- a/modules/sfp_gotcha.py+++ b/modules/sfp_gotcha.py@@ -30,10 +30,12 @@ class sfp_gotcha(SpiderFootPlugin):# or you run the risk of data persisting between scan runs.results = dict()+ errorState = Falsedef 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.@@ -71,6 +73,7 @@ class sfp_gotcha(SpiderFootPlugin):return Trueexcept Exception as e:self.sf.error("Error processing response from gotcha.pw: " + str(e), False)+ self.errorState = Truereturn None# Handle events sent to this module@@ -81,6 +84,10 @@ class sfp_gotcha(SpiderFootPlugin):self.sf.debug("Received event, " + eventName + ", from " + srcModuleName)+ if self.errorState:+ self.sf.error("Gotcha.pw is having problems, so not processing any further events.", False)+ return None+# Don't look up stuff twiceif eventData in self.results:self.sf.debug("Skipping " + eventData + " as already mapped.")