mirror of https://github.com/daffainfo/nuclei.git
Misc
parent
60d277f36c
commit
3ec3ecdd8a
|
@ -102,7 +102,7 @@ type TemplateInfo struct {
|
||||||
|
|
||||||
// NewMockExecuterOptions creates a new mock executeroptions struct
|
// NewMockExecuterOptions creates a new mock executeroptions struct
|
||||||
func NewMockExecuterOptions(options *types.Options, info *TemplateInfo) *protocols.ExecuterOptions {
|
func NewMockExecuterOptions(options *types.Options, info *TemplateInfo) *protocols.ExecuterOptions {
|
||||||
progress, _ := progress.NewProgress(false, false, 0)
|
progress, _ := progress.NewProgress(0, false, false, 0)
|
||||||
executerOpts := &protocols.ExecuterOptions{
|
executerOpts := &protocols.ExecuterOptions{
|
||||||
TemplateID: info.ID,
|
TemplateID: info.ID,
|
||||||
TemplateInfo: info.Info,
|
TemplateInfo: info.Info,
|
||||||
|
|
Loading…
Reference in New Issue