SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Fix handling of cases where DNS records have trailing '.'
smicallefe20484e4498d
diff --git a/sflib.py b/sflib.pyindex 130bdb5a..3eff967c 100644--- a/sflib.py+++ b/sflib.py@@ -796,10 +796,13 @@ class SpiderFoot:ret = list()for addr in res:if type(addr) == list:- ret.extend(addr)+ for host in addr:+ host = str(host).rstrip(".")+ ret.append(host)else:+ addr = str(addr).rstrip(".")ret.append(addr)- return list(set(ret))+ return ret# Verify input is OK to executedef sanitiseInput(self, cmd):