Skip to content

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

clean-up

smicallef7a427ca54c15
diff --git a/modules/sfp_dns.py b/modules/sfp_dns.py
index 4061744a..56324544 100644
--- a/modules/sfp_dns.py
+++ b/modules/sfp_dns.py
@@ -39,7 +39,7 @@ class sfp_dns(SpiderFootPlugin):
# Option descriptions
optdescs = {
- 'skipcommononwildcard': "If wildcard DNS is detected, look up the first common sub-domain only.",
+ 'skipcommononwildcard': "If wildcard DNS is detected, only attempt to look up the first common sub-domain from the common sub-domain list.",
'reverselookup': "Obtain new URLs and possible affiliates based on reverse-resolved IPs?",
"commonsubs": "Common sub-domains to try. Prefix with an '@' to iterate through a file containing sub-domains to try (one per line), e.g. @C:\subdomains.txt or @/home/bob/subdomains.txt. Or supply a URL to load the list from there."
}
@@ -62,7 +62,7 @@ class sfp_dns(SpiderFootPlugin):
# What events is this module interested in for input
def watchedEvents(self):
- arr = ['RAW_DNS_RECORDS', 'SEARCH_ENGINE_WEB_CONTENT', 'RAW_RIPE_DATA',
+ arr = ['RAW_DNS_RECORDS', 'SEARCH_ENGINE_WEB_CONTENT', 'RAW_RIR_DATA',
'TARGET_WEB_CONTENT', 'LINKED_URL_INTERNAL', 'SUBDOMAIN' ]
if self.opts['reverselookup']:
arr.append('IP_ADDRESS')
@@ -91,7 +91,7 @@ class sfp_dns(SpiderFootPlugin):
self.subresults[eventData] = True
if eventName in [ "SEARCH_ENGINE_WEB_CONTENT", "TARGET_WEB_CONTENT",
- "LINKED_URL_INTERNAL", "RAW_RIPE_DATA", "RAW_DNS_RECORDS" ]:
+ "LINKED_URL_INTERNAL", "RAW_RIR_DATA", "RAW_DNS_RECORDS" ]:
# If we've received a link or some raw data, extract potential sub-domains
# from the data for resolving later.
matches = re.findall("([a-zA-Z0-9\-\.]+\." + self.baseDomain + ")", eventData,