From 92313a74bf26730c193a23c708f66ef8082c1fdb Mon Sep 17 00:00:00 2001 From: chuu <602484935@qq.com> Date: Wed, 9 Oct 2024 22:17:22 +0800 Subject: [PATCH] fix: input helper in executor options --- lib/sdk_private.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/sdk_private.go b/lib/sdk_private.go index cacd9a1ca1..f63c7b1c34 100644 --- a/lib/sdk_private.go +++ b/lib/sdk_private.go @@ -3,6 +3,7 @@ package nuclei import ( "context" "fmt" + "github.com/projectdiscovery/nuclei/v3/pkg/input" "strings" "sync" "time" @@ -171,6 +172,7 @@ func (e *NucleiEngine) init(ctx context.Context) error { ResumeCfg: types.NewResumeCfg(), Browser: e.browserInstance, Parser: e.parser, + InputHelper: input.NewHelper(), } if len(e.opts.SecretsFile) > 0 { authTmplStore, err := runner.GetAuthTmplStore(*e.opts, e.catalog, e.executerOpts)