SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Handle when the API key is not provided.
Stevea9bf6ea332d6
diff --git a/modules/sfp_botscout.py b/modules/sfp_botscout.pyindex db69c6ad..2e547ce4 100644--- a/modules/sfp_botscout.py+++ b/modules/sfp_botscout.py@@ -52,6 +52,10 @@ class sfp_botscout(SpiderFootPlugin):self.sf.debug("Received event, " + eventName + ", from " + srcModuleName)+ if self.opts['apikey'] == "":+ self.sf.error("You enabled sfp_botscout but did not set an API key!", False)+ return None+# Don't look up stuff twiceif eventData in self.results:self.sf.debug("Skipping " + eventData + " as already searched.")