From 45dd3ab8a9d0ff7f8d3b1342596d98e71017f498 Mon Sep 17 00:00:00 2001 From: cuibuwei Date: Sat, 13 Apr 2024 16:54:59 +0800 Subject: [PATCH] chore: fix some typos in comments Signed-off-by: cuibuwei --- doc/user_guide.md | 2 +- net/dns/dns.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/user_guide.md b/doc/user_guide.md index b72181515..6ff8eeecc 100644 --- a/doc/user_guide.md +++ b/doc/user_guide.md @@ -100,7 +100,7 @@ This subcommand will perform DNS enumeration and network mapping while populatin #### Mode description -+ **Normal**: Run enum subcommand without specifing active or passive flag will seed the enumeration from data sources and leverage DNS to validate findings and further investigate the namespaces in scope (provided domain names) ++ **Normal**: Run enum subcommand without specifying active or passive flag will seed the enumeration from data sources and leverage DNS to validate findings and further investigate the namespaces in scope (provided domain names) `amass enum -d example.com` diff --git a/net/dns/dns.go b/net/dns/dns.go index 7ca137147..ac1e86ee9 100644 --- a/net/dns/dns.go +++ b/net/dns/dns.go @@ -20,7 +20,7 @@ func SubdomainRegex(domain string) *regexp.Regexp { return regexp.MustCompile(SubdomainRegexString(domain)) } -// SubdomainRegexString returns a regular expression string that matchs +// SubdomainRegexString returns a regular expression string that matches // subdomain names ending with the domain provided by the parameter. func SubdomainRegexString(domain string) string { // Change all the periods into literal periods for the regex