SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Shifted positioning of errorState check.
smicallef99c229103fe9
diff --git a/modules/sfp_etherscan.py b/modules/sfp_etherscan.pyindex 9b7846e7..162803e9 100644--- a/modules/sfp_etherscan.py+++ b/modules/sfp_etherscan.py@@ -107,14 +107,14 @@ class sfp_etherscan(SpiderFootPlugin):self.sf.debug(f"Received event, {eventName}, from {srcModuleName}")+ if self.errorState:+ return None+if self.opts['api_key'] == "":self.sf.error("You enabled sfp_etherscan but did not set an API key!")self.errorState = Truereturn- if self.errorState:- return None-# Don't look up stuff twiceif eventData in self.results:self.sf.debug(f"Skipping {eventData}, already checked.")