SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
More efficient TLD searching.
Steve87c2e14ffa31
diff --git a/modules/sfp_tldsearch.py b/modules/sfp_tldsearch.pyindex ff1c8c16..dc9a9555 100644--- a/modules/sfp_tldsearch.py+++ b/modules/sfp_tldsearch.py@@ -117,15 +117,15 @@ class sfp_tldsearch(SpiderFootPlugin):srcModuleName = event.moduleeventData = event.data- if eventData in self.results:- return None- else:- self.results.append(eventData)-keyword = self.sf.domainKeyword(eventData, self.opts['_internettlds'])self.sf.debug("Keyword extracted from " + eventData + ": " + keyword)targetList = list()+ if keyword in self.results:+ return None+ else:+ self.results.append(keyword)+# Look through all TLDs for the existence of this target keywordfor tld in self.opts['_internettlds']:if type(tld) != unicode: