Templates are not available when using Nuclei.WithCatalog #6130
Unanswered
Legion-101
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why when I specify a directory with non-default templates they are not loaded into the engine?
msg="catalog with temapltes" catalog="&{templatesDirectory:/nuclei-templates templatesFS:<nil>}"
error="failed to execute nuclei engine: [:RUNTIME] No templates available"
And then nuclei gives these errors, doesn't the method change the default directory used?
[ERR] Could not read nuclei-ignore file: open /root/.config/nuclei/.nuclei-ignore: no such file or directory
[ERR] Could not find template '/root/nuclei-templates': could not find file: open /root/nuclei-templates: no such file or directory
example code:
where
absPath = /nuclei-templates
Beta Was this translation helpful? Give feedback.
All reactions