How to migrate nuclei templates from the old syntax to the new syntax #5208
-
Discussed in #5185Originally posted by Caratpine May 15, 2024 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@Caratpine , all breaking changes related to v3 are documented here #3648 also Nuclei v3 warns about these deprecated syntax but support for these is not removed yet , so most of the templates should work with v3 with warnings and it is also recommended to update to most recent syntax and there aren't many breaking changes in v3 template wise template wise there is only 1 major change i.e change in protocol name ex: FYI, Nuclei doesn't have any LTS or Long term support for a particular version , this is because we consider Nuclei + Nuclei Templates as a single unit and not different entities , and we keep adding new features in Nuclei to meet immediate demand of a template[s] Example: if a certain high/critical CVE requires a helper function or something else that is missing in latest version of nuclei , we try to add it and immediately create a new release along with nuclei-templates release for that. that way users always have latest and greatest and are able to find / remmediate the vulnerability |
Beta Was this translation helpful? Give feedback.
-
Hi @tarunKoyalwar thanks for you reply, yes, i've checked the change log, and found the solution, thanks! |
Beta Was this translation helpful? Give feedback.
@Caratpine , all breaking changes related to v3 are documented here #3648
also Nuclei v3 warns about these deprecated syntax but support for these is not removed yet , so most of the templates should work with v3 with warnings and it is also recommended to update to most recent syntax and there aren't many breaking changes in v3 template wise
template wise there is only 1 major change i.e change in protocol name ex:
requests: -> http:
and this can easily be automated via sed or any bash match replaceFYI, Nuclei doesn't have any LTS or Long term support for a particular version , this is because we consider Nuclei + Nuclei Templates as a single unit and not different entities , and we ke…