diff --git a/modules/sfp_similar.py b/modules/sfp_similar.py index 4994977f8a..1315cff436 100644 --- a/modules/sfp_similar.py +++ b/modules/sfp_similar.py @@ -70,10 +70,12 @@ class sfp_similar(SpiderFootPlugin): # Default options opts = { + 'skipwildcards': True } # Option descriptions optdescs = { + 'skipwildcards': "Skip TLDs and sub-TLDs that have wildcard DNS." } # Internal results tracking @@ -113,6 +115,10 @@ def handleEvent(self, event): self.results[dom] = True + # Check if the TLD has wildcards before testing + if self.opts['skipwildcards'] and self.sf.checkDnsWildcard(tld[1:]): + return + domlist = list() # Search for typos