diff --git a/README.md b/README.md index 9e61a3d07..0f41c7aa0 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ Download latest binary from https://github.com/projectdiscovery/nuclei/releases nuclei requires **go1.14+** to install successfully. Run the following command to get the repo - ```sh -▶ GO111MODULE=auto go get -u -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei +▶ GO111MODULE=on go get -u -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei ``` ### From Github diff --git a/internal/runner/processor.go b/internal/runner/processor.go index 6769c6f62..03cc4839d 100644 --- a/internal/runner/processor.go +++ b/internal/runner/processor.go @@ -213,6 +213,8 @@ func (r *Runner) preloadWorkflowTemplates(p progress.IProgress, workflow *workfl ProxyURL: r.options.ProxyURL, ProxySocksURL: r.options.ProxySocksURL, CustomHeaders: r.options.CustomHeaders, + JSON: r.options.JSON, + JSONRequests: r.options.JSONRequests, CookieJar: jar, ColoredOutput: !r.options.NoColor, Colorizer: r.colorizer, @@ -223,6 +225,8 @@ func (r *Runner) preloadWorkflowTemplates(p progress.IProgress, workflow *workfl Debug: r.options.Debug, Template: t, Writer: r.output, + JSON: r.options.JSON, + JSONRequests: r.options.JSONRequests, ColoredOutput: !r.options.NoColor, Colorizer: r.colorizer, Decolorizer: r.decolorizer,