From 9f8741a40cfca13e4c139601597055260bbcf070 Mon Sep 17 00:00:00 2001 From: bauthard <8293321+bauthard@users.noreply.github.com> Date: Fri, 11 Sep 2020 17:40:15 +0530 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 1c737b0f40990acb7259e75250a8bc453ef52944 Mon Sep 17 00:00:00 2001 From: Ice3man543 Date: Fri, 11 Sep 2020 21:42:27 +0530 Subject: [PATCH 2/2] Fixed no json output when using workflows --- internal/runner/processor.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/runner/processor.go b/internal/runner/processor.go index 2d0d57c7e..097ef07d3 100644 --- a/internal/runner/processor.go +++ b/internal/runner/processor.go @@ -227,6 +227,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, @@ -237,6 +239,8 @@ func (r *Runner) preloadWorkflowTemplates(p progress.IProgress, workflow *workfl Debug: r.options.Debug, Template: t, Writer: writer, + JSON: r.options.JSON, + JSONRequests: r.options.JSONRequests, ColoredOutput: !r.options.NoColor, Colorizer: r.colorizer, Decolorizer: r.decolorizer,