SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Deal with escaped characters in RAW_RIR_DATA and similar, as per issue #486.
smicallef2f4338500d30
diff --git a/modules/sfp_dnsresolve.py b/modules/sfp_dnsresolve.pyindex ec84ea72..00250327 100644--- a/modules/sfp_dnsresolve.py+++ b/modules/sfp_dnsresolve.py@@ -163,7 +163,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 = data.replace('\\n', '\n')+ data = re.sub(r'(\\x[0-f]{2}|\\n|\\r)', '\n', data)for name in self.getTarget().getNames():if self.checkForStop():