diff --git a/v1/cmd/blink/main.go b/v1/cmd/blink/main.go index 2cf8c51..aa210c8 100644 --- a/v1/cmd/blink/main.go +++ b/v1/cmd/blink/main.go @@ -47,6 +47,11 @@ var rootCmd = &cobra.Command{ zerolog.SetGlobalLevel(zerolog.InfoLevel) } + // No threads found + if opts.Threads == 0 { + opts.Threads = 1 + } + // Set domains opts.Domains = args @@ -150,8 +155,7 @@ var rootCmd = &cobra.Command{ // Check wildcard found := run.Wildcard(domain) - // Print detection - log.Info(). + log.Warn(). Str("domain", domain). Str("detected", strconv.FormatBool(found)). Msg("Wildcard detection") @@ -163,7 +167,6 @@ var rootCmd = &cobra.Command{ // Go through domains for domain, count := range domains { - // Print count log.Info().Str("subdomains", fmt.Sprintf("%d", count)).Msg(domain) } },