Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

How to migrate nuclei templates from the old syntax to the new syntax #5190

Closed
Caratpine opened this issue May 16, 2024 Discussed in #5185 · 1 comment
Closed

How to migrate nuclei templates from the old syntax to the new syntax #5190

Caratpine opened this issue May 16, 2024 Discussed in #5185 · 1 comment

Comments

@Caratpine
Copy link

Discussed in #5185

Originally posted by Caratpine May 15, 2024
Hi masters.
We have made a template management ourselves, with about 2,000 templates. The nuclei version we use is 2.8.8. Recently we want to upgrade nuclei to the latest version, but because the templates we maintain are not new syntax, we need to migrate it. , are there any good solutions or tools? Thank you.

@tarunKoyalwar
Copy link
Member

@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 replace


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

@projectdiscovery projectdiscovery locked and limited conversation to collaborators May 22, 2024
@tarunKoyalwar tarunKoyalwar converted this issue into discussion #5208 May 22, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants