From cba2bab7cc2c711b1f109b2d26c01dfe8006971e Mon Sep 17 00:00:00 2001 From: CyberRoute Date: Wed, 14 Feb 2024 15:51:28 +0100 Subject: [PATCH] adding cmd arg workers --- README.md | 4 +++- cmd/bruter/main.go | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 51575ea..3bf614e 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ What does it do? ## Usage ``` - Usage of /tmp/go-build262560291/b001/exe/concurrency: + Usage of /tmp/go-build3838391229/b001/exe/concurrency: -address string IP address to bind the web UI server to. (default "127.0.0.1") -dictionary string @@ -30,6 +30,8 @@ What does it do? shodan API key -verbose Verbosity + -workers int + Default is 0, if workers is less than or equal than zero, it will be auto scaled to the number of logical CPUs usable by the current process. ``` ## Running in Docker diff --git a/cmd/bruter/main.go b/cmd/bruter/main.go index f3d4a89..a807118 100644 --- a/cmd/bruter/main.go +++ b/cmd/bruter/main.go @@ -37,8 +37,8 @@ var app config.AppConfig var session *scs.SessionManager var ( - Domain = flag.String("domain", "", "domain to scan") - Apikey = flag.String("shodan", "", "shodan API key") + Domain = flag.String("domain", "", "Domain to scan") + Apikey = flag.String("shodan", "", "Dhodan API key") Address = flag.String("address", "127.0.0.1", "IP address to bind the web UI server to.") Extension = flag.String("extension", "js", "File extension.") Dictionary = flag.String("dictionary", "db/apache-list", "File to use for enumeration.")