mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 05:05:23 +00:00
refactor: replace date, time, time_format, time_to_string DSL functions to date_time
This commit is contained in:
parent
ef20e0711b
commit
04e7e053de
@ -12,7 +12,7 @@ func TestVariablesEvaluate(t *testing.T) {
|
||||
data := `a1: "{{rand_base(5)}}"
|
||||
a2: "{{md5(a1)}}"
|
||||
a3: "this_is_random_text"
|
||||
a4: "{{date('%Y-%M-%D')}}"
|
||||
a4: "{{date_time('%Y-%M-%D')}}"
|
||||
a5: "{{reverse(hostname)}}"
|
||||
a6: "123456"`
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user