mirror of https://github.com/daffainfo/nuclei.git
rename print_stdout to print_debug
parent
5aad51045c
commit
986a4981fb
|
@ -246,8 +246,8 @@ var functions = map[string]govaluate.ExpressionFunction{
|
|||
return data, nil
|
||||
},
|
||||
// for debug purposes
|
||||
"print_stdout": func(args ...interface{}) (interface{}, error) {
|
||||
fmt.Println(args)
|
||||
"print_debug": func(args ...interface{}) (interface{}, error) {
|
||||
gologger.Info().Msgf("print_debug value: %s", fmt.Sprint(args))
|
||||
return true, nil
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue