-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dsl validation and messaging improvements #163
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the output it seems that we might use an older version of the DSL logic, because the methods were renamed to follow a uniform snake cased convention.
e.g. toupper -> to_upper
and so on.
we are using github.com/projectdiscovery/dsl, which might have differences to nuclei DSL functions. Pushed the update to make it uniform across the projects. base64(arg1 interface{}) interface{}
base64_decode(arg1 interface{}) interface{}
base64_py(arg1 interface{}) interface{}
contains(arg1, arg2 interface{}) interface{}
contains_all(arg1, arg2 interface{}) interface{}
contains_any(arg1, arg2 interface{}) interface{}
equals_any(arg1, arg2 interface{}) interface{}
hex_decode(arg1 interface{}) interface{}
hex_encode(arg1 interface{}) interface{}
html_escape(arg1 interface{}) interface{}
html_unescape(arg1 interface{}) interface{}
len(arg1 interface{}) interface{}
md5(arg1 interface{}) interface{}
mmh3(arg1 interface{}) interface{}
rand_base(arg1, arg2, arg3 interface{}) interface{}
rand_char(arg1, arg2 interface{}) interface{}
rand_int(arg1, arg2 interface{}) interface{}
rand_text_alpha(arg1, arg2 interface{}) interface{}
rand_text_alphanumeric(arg1, arg2 interface{}) interface{}
rand_text_numeric(arg1, arg2 interface{}) interface{}
regex(arg1, arg2 interface{}) interface{}
regex_all(arg1, arg2 interface{}) interface{}
regex_any(arg1, arg2 interface{}) interface{}
replace(arg1, arg2, arg3 interface{}) interface{}
replace_regex(arg1, arg2, arg3 interface{}) interface{}
reverse(arg1 interface{}) interface{}
sha1(arg1 interface{}) interface{}
sha256(arg1 interface{}) interface{}
to_lower(arg1 interface{}) interface{}
to_upper(arg1 interface{}) interface{}
trim(arg1, arg2 interface{}) interface{}
trim_left(arg1, arg2 interface{}) interface{}
trim_prefix(arg1, arg2 interface{}) interface{}
trim_right(arg1, arg2 interface{}) interface{}
trim_space(arg1 interface{}) interface{}
trim_suffix(arg1, arg2 interface{}) interface{}
url_decode(arg1 interface{}) interface{}
url_encode(arg1 interface{}) interface{}
wait_for(arg1 interface{}) interface{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm - posted one question about gologger
vs fmt
SonarCloud Quality Gate failed. |
Proposed changes
Example:
Checklist