mirror of https://github.com/daffainfo/nuclei.git
Update engine field of code request to accept any engine value (#4731)
parent
36985345a9
commit
e2527970cc
|
@ -50,7 +50,7 @@ type Request struct {
|
||||||
ID string `yaml:"id,omitempty" json:"id,omitempty" jsonschema:"title=id of the request,description=ID is the optional ID of the Request"`
|
ID string `yaml:"id,omitempty" json:"id,omitempty" jsonschema:"title=id of the request,description=ID is the optional ID of the Request"`
|
||||||
// description: |
|
// description: |
|
||||||
// Engine type
|
// Engine type
|
||||||
Engine []string `yaml:"engine,omitempty" jsonschema:"title=engine,description=Engine,enum=python,enum=powershell,enum=command"`
|
Engine []string `yaml:"engine,omitempty" jsonschema:"title=engine,description=Engine"`
|
||||||
// description: |
|
// description: |
|
||||||
// Engine Arguments
|
// Engine Arguments
|
||||||
Args []string `yaml:"args,omitempty" jsonschema:"title=args,description=Args"`
|
Args []string `yaml:"args,omitempty" jsonschema:"title=args,description=Args"`
|
||||||
|
|
Loading…
Reference in New Issue