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 190124140c86d1fce8b802516555265c88f4c5d8
parent 9c3b8263d3a6fa9fd76d89270286c8e8d9efd8f9 Author: djnn <[email protected]> Date: Thu, 5 Dec 2024 17:19:48 +0900 fix(scan): `httpx` can take screenshots! Diffstat:
|
| 1 file changed, 13 insertions(+), 8 deletions(-) |
diff --git a/scan/httpx.go b/scan/httpx.go @@ -2,6 +2,7 @@ package scan import ( "fmt" + "time" "github.com/projectdiscovery/goflags" "github.com/projectdiscovery/httpx/runner" @@ -27,14 +28,18 @@ func (h *Httpx) Configure(c interface{}) { func (h *Httpx) Run(domain string) { options := runner.Options{ - Methods: "GET", - InputTargetHost: goflags.StringSlice{domain}, - HTTPProxy: h.Proxy, - StoreResponseDir: h.OutDirPath, - Screenshot: true, - RandomAgent: true, - UseInstalledChrome: true, - RateLimit: int(h.RateLimit), + Methods: "GET", + InputTargetHost: goflags.StringSlice{domain}, + HTTPProxy: h.Proxy, + StoreResponseDir: h.OutDirPath, + Screenshot: true, + ScreenshotTimeout: 10 * time.Second, + ScreenshotIdle: 1 * time.Second, + RandomAgent: true, + UseInstalledChrome: false, + HeadlessOptionalArguments: nil, + NoHeadlessBody: false, + RateLimit: int(h.RateLimit), } if err := options.ValidateOptions(); err != nil { |