mirror of https://github.com/daffainfo/nuclei.git
Add helper function `print_stdout` for debug purposes
parent
335b38028c
commit
5aad51045c
|
@ -245,6 +245,11 @@ var functions = map[string]govaluate.ExpressionFunction{
|
|||
data := deserialization.GenerateJavaGadget(gadget, cmd, encoding)
|
||||
return data, nil
|
||||
},
|
||||
// for debug purposes
|
||||
"print_stdout": func(args ...interface{}) (interface{}, error) {
|
||||
fmt.Println(args)
|
||||
return true, nil
|
||||
},
|
||||
}
|
||||
|
||||
// HelperFunctions returns the dsl helper functions
|
||||
|
|
Loading…
Reference in New Issue