Additional fix to output format check

This commit is contained in:
Tony West committed 2025-03-18 15:57:32 -04:00
1 parent ceb99e4ddd
commit 0d59e6c34f
1 file changed
+1 -1
+1 -1
View File
@@ -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))