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
|
return data, nil
|
||||||
},
|
},
|
||||||
// for debug purposes
|
// for debug purposes
|
||||||
"print_stdout": func(args ...interface{}) (interface{}, error) {
|
"print_debug": func(args ...interface{}) (interface{}, error) {
|
||||||
fmt.Println(args)
|
gologger.Info().Msgf("print_debug value: %s", fmt.Sprint(args))
|
||||||
return true, nil
|
return true, nil
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue