SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Data quality fix.
smicallefba51c226e68b
diff --git a/modules/sfp_dnsresolve.py b/modules/sfp_dnsresolve.pyindex 95d24d6d..7ef3a018 100644--- a/modules/sfp_dnsresolve.py+++ b/modules/sfp_dnsresolve.py@@ -155,7 +155,7 @@ class sfp_dnsresolve(SpiderFootPlugin):# We get literal \n from RAW_RIR_DATA in cases where JSON responses# have been str()'d, breaking interpretation of hostnames.if eventName == 'RAW_RIR_DATA':- data = eventData.replace('\\n', '\n')+ data = data.replace('\\n', '\n')for name in self.getTarget().getNames():if self.checkForStop():@@ -165,7 +165,7 @@ class sfp_dnsresolve(SpiderFootPlugin):if offset < 0:continue- pat = re.compile("[^a-z0-9\-\.\%]([a-z0-9\-\.\%]*\." + name + ")", re.DOTALL|re.MULTILINE)+ pat = re.compile("[^a-z0-9\-\.]([a-z0-9\-\.]*\." + name + ")", re.DOTALL|re.MULTILINE)while offset >= 0:# If the target was found at the beginning of the content, skip past itif offset == 0:@@ -190,9 +190,6 @@ class sfp_dnsresolve(SpiderFootPlugin):m = match[1:]else:m = match- # Remove URL-encoded stuff- if '%' in m:- m = urllib2.unquote(m)self.processHost(m, parentEvent, False)except Exception as e:self.sf.error("Error applying regex to data (" + str(e) + ")", False)