Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Bug fix.

Steve Micallef96e80b69bb4c
diff --git a/sflib.py b/sflib.py
index 9b6b028e..8b53bcfc 100644
--- a/sflib.py
+++ b/sflib.py
@@ -1616,7 +1616,7 @@ class SpiderFootTarget(object):
# Get all domains associated with the target
def getNames(self):
e = self._getEquivalents("INTERNET_NAME")
- if self.targetType == "INTERNET_NAME":
+ if self.targetType == "INTERNET_NAME" and self.targetValue.lower() not in e:
e.append(self.targetValue.lower())
return e