Skip to content

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

Bug fix.

smicallefb8fbb87ad1d0
diff --git a/modules/sfp_arin.py b/modules/sfp_arin.py
index 75394b48..9b7f8b94 100644
--- a/modules/sfp_arin.py
+++ b/modules/sfp_arin.py
@@ -93,7 +93,7 @@ class sfp_arin(SpiderFootPlugin):
j = json.loads(res['content'])
return j
except Exception as e:
- self.sf.debug("Error processing JSON response.")
+ self.sf.debug("Error processing JSON response: " + str(e))
return None
# Handle events sent to this module
diff --git a/sflib.py b/sflib.py
index d19d39f1..41dfd9c0 100644
--- a/sflib.py
+++ b/sflib.py
@@ -1850,7 +1850,7 @@ class SpiderFootTarget(object):
# Get all domains associated with the target
def getNames(self):
e = self._getEquivalents("INTERNET_NAME")
- if self.targetType == "INTERNET_NAME" and self.targetValue.lower() not in e:
+ if self.targetType in ["INTERNET_NAME", "EMAILADDR"] and self.targetValue.lower() not in e:
e.append(self.targetValue.lower())
names = list()