mirror of
https://github.com/BishopFox/sj.git
synced 2026-11-07 10:26:01 -10:00
Additional fix to output format check
This commit is contained in:
1 parent
ceb99e4ddd
commit
0d59e6c34f
1 file changed
+1
-1
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user