SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfp_dnstwist: Updated to support new DNStwist version output.
smicallefec8f34b58777
diff --git a/modules/sfp_tool_dnstwist.py b/modules/sfp_tool_dnstwist.pyindex 61fe05ab..63cfd8e1 100644--- a/modules/sfp_tool_dnstwist.py+++ b/modules/sfp_tool_dnstwist.py@@ -133,10 +133,14 @@ class sfp_tool_dnstwist(SpiderFootPlugin):try:j = json.loads(content)for r in j:- if self.getTarget().matches(r['domain-name']):+ # Support different formats from DNStwist versions+ domain = r.get('domain-name')+ if not domain:+ domain = r.get('domain')+ if self.getTarget().matches(domain):continue- evt = SpiderFootEvent("SIMILARDOMAIN", r['domain-name'],+ evt = SpiderFootEvent("SIMILARDOMAIN", domain,self.__name__, event)self.notifyListeners(evt)except Exception as e: