From 0d59e6c34fdcb2dd542b8657ae1f154e4bf06ec2 Mon Sep 17 00:00:00 2001 From: Tony West <125916820+twest-bf@users.noreply.github.com> Date: Tue, 18 Mar 2025 15:57:32 -0400 Subject: [PATCH] Additional fix to output format check --- cmd/brute.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/brute.go b/cmd/brute.go index 99e1a37..75654de 100644 --- a/cmd/brute.go +++ b/cmd/brute.go @@ -73,7 +73,7 @@ var bruteCmd = &cobra.Command{ log.Fatalf("failed to read words from file: %s", err) } } - if rateLimit > 0 { + if rateLimit > 0 && strings.ToLower(outputFormat) != "json" { log.Infof("Sending %d requests at a rate of %d requests per second. This could take a while...\n", len(allURLs), rateLimit) } else { log.Infof("Sending %d requests. This could take a while...\n", len(allURLs))