SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Skip SPF domains containing underscore
bcoles42dd69afd1cf
diff --git a/modules/sfp_dnsraw.py b/modules/sfp_dnsraw.pyindex ca42bd6d..18396f35 100644--- a/modules/sfp_dnsraw.py+++ b/modules/sfp_dnsraw.py@@ -124,7 +124,9 @@ class sfp_dnsraw(SpiderFootPlugin):matches = re.findall(r'include:(.+?) ', strdata, re.IGNORECASE | re.DOTALL)if matches:for domain in matches:- if self.getTarget().matches(domain, includeChildren=True):+ if '_' in domain:+ continue+ if self.getTarget().matches(domain, includeChildren=True, includeParents=True):evt_type = 'INTERNET_NAME'else:evt_type = 'AFFILIATE_DOMAIN'