[BUG] Nuclei Engine 'GetTemplates' ignores templatesLoaded
and always re-load all templates
#5726
Closed
1 task done
Labels
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Is there an existing issue for this?
Current Behavior
Ref -
nuclei/lib/sdk.go
Line 107 in 1cd42c4
GetTemplates
check it againste.templatesLoaded
, but it never being changed totrue
after successfully loading it,so every-time someone asks for the templates, he actually load them again and maybe even manipulate them without knowing what was the previous state.
Expected Behavior
Not loading them again
Steps To Reproduce
Relevant log output
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: