Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpt-erikgeiser committed Feb 18, 2025
1 parent 8b1356b commit 74e629f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func configFromCLI() (config *Config, logger *Logger, err error) {
pflag.StringVar(&config.SOAHostname, "soa-hostname", defaultSOAHostname,
"Hostname for the SOA record (useful for Kerberos relaying)")
pflag.StringVar(&config.SpoofResponseName, "spoof-response-name", defaultSpoofResponseName,
"Spoof response name to influnce SPNs (works with DNS and LLMNR, NetBIOS and mDNS will be ignored)")
"Spoof response name to influence SPNs (works with DNS and LLMNR, NetBIOS and mDNS will be ignored)")

pflag.BoolVar(&config.NoDHCPv6DNSTakeover, "no-dhcp-dns", defaultNoDHCPv6DNSTakeover,
"Disable DHCPv6 DNS takeover attack (DHCPv6 and DNS, mutually\nexlusive with --stateless-ra)")
Expand Down
8 changes: 4 additions & 4 deletions log.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ func (l *Logger) NotifySpoofingDisabled() {
return
}

l.logf(os.Stdout, l.styleAndPrefix(fgCyan, bold)+"Name resolution spooding is now disabled (%s)",
l.logf(os.Stdout, l.styleAndPrefix(fgCyan, bold)+"Name resolution spoofing is now disabled (%s)",
nameResolutionToggleShortcutInfo)
}

Expand All @@ -352,7 +352,7 @@ func (l *Logger) NotifySpoofingEnabled() {
return
}

l.logf(os.Stdout, l.styleAndPrefix(fgGreen, bold)+"Name resolution spooding is now enabled (%s)",
l.logf(os.Stdout, l.styleAndPrefix(fgGreen, bold)+"Name resolution spoofing is now enabled (%s)",
nameResolutionToggleShortcutInfo)
}

Expand All @@ -372,10 +372,10 @@ func (l *Logger) NotifySpoofingStatus(nowEnabled bool) {
}

if nowEnabled {
l.logf(os.Stdout, l.styleAndPrefix(fgGreen, bold)+"Name resolution spooding is currently enabled (%s)",
l.logf(os.Stdout, l.styleAndPrefix(fgGreen, bold)+"Name resolution spoofing is currently enabled (%s)",
nameResolutionToggleShortcutInfo)
} else {
l.logf(os.Stdout, l.styleAndPrefix(fgCyan, bold)+"Name resolution spooding is currently disabled (%s)",
l.logf(os.Stdout, l.styleAndPrefix(fgCyan, bold)+"Name resolution spoofing is currently disabled (%s)",
nameResolutionToggleShortcutInfo)
}
}
Expand Down

0 comments on commit 74e629f

Please sign in to comment.