Skip to content

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

Fixed xref duplication bug.

smicallef23ed83bb4588
diff --git a/modules/sfp_xref.py b/modules/sfp_xref.py
index 3ad11d83..759c3eea 100644
--- a/modules/sfp_xref.py
+++ b/modules/sfp_xref.py
@@ -79,10 +79,6 @@ class sfp_xref(SpiderFootPlugin):
if eventName == 'SIMILARDOMAIN':
eventData = 'http://'+ eventData
- if eventData in self.fetched:
- sf.debug("Ignoring " + eventData + " as already tested")
- return
-
# We are only interested in external sites for the xref
if sf.urlBaseDom(eventData) == self.baseDomain:
sf.debug("Ignoring " + eventData + " as not external")
@@ -102,6 +98,7 @@ class sfp_xref(SpiderFootPlugin):
return
res = sf.fetchUrl(url)
+ self.fetched.append(url)
if res['content'] == None:
sf.debug("Ignoring " + url + " as no data returned")