Skip to content

Commit

Permalink
fix<whois>: typos in logfile creation
Browse files Browse the repository at this point in the history
  • Loading branch information
vmfunc committed Jul 29, 2024
1 parent 5b2da18 commit bd69d33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scan/whois.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func Whois(url string, logdir string) {

sanitizedURL := strings.Split(url, "://")[1]
if logdir != "" {
if err := logger.WriteHeader(sanitizedURL, logdir, " port scanning"); err != nil {
if err := logger.WriteHeader(sanitizedURL, logdir, " WHOIS scanning"); err != nil {
log.Errorf("Error creating log file: %v", err)
return
}
Expand Down

0 comments on commit bd69d33

Please sign in to comment.