From 42d81981819b7920b12f53cde7b36cbcc7f68b4b Mon Sep 17 00:00:00 2001 From: Mzack9999 Date: Fri, 20 Nov 2020 09:55:11 +0100 Subject: [PATCH] generic bugfix --- v2/internal/runner/processor.go | 38 +++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/v2/internal/runner/processor.go b/v2/internal/runner/processor.go index 80184327..7b2c1126 100644 --- a/v2/internal/runner/processor.go +++ b/v2/internal/runner/processor.go @@ -217,22 +217,26 @@ func (r *Runner) preloadWorkflowTemplates(p *progress.Progress, workflow *workfl template := &workflows.Template{Progress: p} if len(t.BulkRequestsHTTP) > 0 { template.HTTPOptions = &executer.HTTPOptions{ - TraceLog: r.traceLog, - Debug: r.options.Debug, - Writer: r.output, - Template: t, - Timeout: r.options.Timeout, - Retries: r.options.Retries, - 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, - Decolorizer: r.decolorizer, - PF: r.pf, + TraceLog: r.traceLog, + Debug: r.options.Debug, + Writer: r.output, + Template: t, + Timeout: r.options.Timeout, + Retries: r.options.Retries, + 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, + Decolorizer: r.decolorizer, + PF: r.pf, + RateLimiter: r.ratelimiter, + NoMeta: r.options.NoMeta, + StopAtFirstMatch: r.options.StopAtFirstMatch, + Dialer: r.dialer, } } else if len(t.RequestsDNS) > 0 { template.DNSOptions = &executer.DNSOptions{ @@ -245,6 +249,8 @@ func (r *Runner) preloadWorkflowTemplates(p *progress.Progress, workflow *workfl ColoredOutput: !r.options.NoColor, Colorizer: r.colorizer, Decolorizer: r.decolorizer, + NoMeta: r.options.NoMeta, + RateLimiter: r.ratelimiter, } }