SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Fixed bug in recognizing affiliates.
smicallef88a1461b3b4d
diff --git a/modules/sfp_xref.py b/modules/sfp_xref.pyindex 0cd79c9c..066e1abe 100644--- a/modules/sfp_xref.py+++ b/modules/sfp_xref.py@@ -95,8 +95,8 @@ class sfp_xref(SpiderFootPlugin):return None# Search for mentions of our domain in the external site's data- matches = re.findall("([\.\'\/\"\ ]" + self.baseDomain + ")", res['content'],- re.IGNORECASE)+ matches = re.findall("([\.\'\/\"\ ]" + self.baseDomain + "[\.\'\"\ ])",+ res['content'], re.IGNORECASE)# If the domain wasn't found in the affiliate, and checkbase is set,# fetch the base URL of the affiliate to check for a xref. Don't bother@@ -105,7 +105,7 @@ class sfp_xref(SpiderFootPlugin):# Check the base url to see if there is an affiliationurl = sf.urlBaseUrl(eventData)res = sf.fetchUrl(url)- matches = re.findall("([\.\'\/\"\ ]" + self.baseDomain + ")",+ matches = re.findall("([\.\'\/\"\ ]" + self.baseDomain + "[\.\'\"\ ])",res['content'], re.IGNORECASE)if len(matches) > 0: