yellow~ opinionated web scanning pipeline for pentesters in a hurry |
| git clone https://github.com/djnnvx/yellow.git |
| log | files | refs | archive | README | LICENSE |
| commit 6e04223d4142d46ee21f237219fff8e1270fb621
parent 18519532df09bc836df0cf36a64846c1789eb24e Author: djnn <[email protected]> Date: Thu, 5 Dec 2024 19:08:18 +0900 fix(scan): adding nb of threads for gobuster Diffstat:
|
| 1 file changed, 4 insertions(+), 1 deletion(-) |
diff --git a/scan/gobuster.go b/scan/gobuster.go @@ -4,6 +4,7 @@ import ( "context" "errors" "fmt" + "time" "evil.djnn.sh/djnn/yellow/helpers" "github.com/OJ/gobuster/v3/cli" @@ -37,7 +38,8 @@ func (g *Gobuster) Run(url string) { globalOpts := libgobuster.NewOptions() globalOpts.Wordlist = g.wordlist globalOpts.OutputFilename = g.scanPath + "/gobuster.txt" - globalOpts.Quiet = true + globalOpts.Quiet = false + globalOpts.Threads = 50 pluginOpts := gobusterdir.NewOptionsDir() pluginOpts.Proxy = g.proxy @@ -45,6 +47,7 @@ func (g *Gobuster) Run(url string) { pluginOpts.UserAgent = helper.GetUserAgent() pluginOpts.URL = url pluginOpts.Method = "GET" + pluginOpts.Timeout = time.Second * 5 ssc, _ := libgobuster.ParseCommaSeparatedInt("302,404,500") pluginOpts.StatusCodesBlacklistParsed = ssc |