SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Bug fix handling empty returned index.
Steve Micallefc590f32f80a8
diff --git a/modules/sfp_commoncrawl.py b/modules/sfp_commoncrawl.pyindex ca730545..f95af947 100644--- a/modules/sfp_commoncrawl.py+++ b/modules/sfp_commoncrawl.py@@ -127,6 +127,10 @@ class sfp_commoncrawl(SpiderFootPlugin):if len(self.indexBase) == 0:self.indexBase = self.getLatestIndexes()+ if not self.indexBase:+ self.sf.error("Unable to fetch CommonCrawl index.", False)+ return None+if len(self.indexBase) == 0:self.sf.error("Unable to fetch CommonCrawl index.", False)return None