SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfp_emailrep: Stop continually warning about a missing API key.
smicallef0aae53e23a1a
diff --git a/modules/sfp_emailrep.py b/modules/sfp_emailrep.pyindex 2b307f71..f9423524 100644--- a/modules/sfp_emailrep.py+++ b/modules/sfp_emailrep.py@@ -55,6 +55,7 @@ class sfp_emailrep(SpiderFootPlugin):results = NoneerrorState = False+ errorWarned = Falsedef setup(self, sfc, userOpts=dict()):self.sf = sfc@@ -134,8 +135,9 @@ class sfp_emailrep(SpiderFootPlugin):self.debug(f"Received event, {eventName}, from {srcModuleName}")- if self.opts['api_key'] == '':+ if self.opts['api_key'] == '' and not self.errorWarned:self.error("Warning: You enabled sfp_emailrep but did not set an API key! Queries will be rate limited.")+ self.errorWarned = Trueres = self.query(eventData)