Currently, the terraform module downloads the zipball_url ala
|
command = "curl -o ${path.module}/src/nuclei-templates.zip -L ${data.github_release.templates.zipball_url}" |
.
With template version 9.5.1 this unzips to "projectdiscovery-nuclei-templates-8153ef2".
Digging further, it appears that nuclearpond is ALWAYS downloading templates, because after the fixes required to make it respect the $HOME directory, it will always look in /tmp/nuclei-templates and find nothing.
I tried including a .templates-config.json, but it appeared to have no effect, so I have modified the main.go to add an explicit '-ud' flag.
At this point I realized that the templates where not where they were expected, and the download link should probably look something like the nuclei release since that produces predictable output.
Currently, the terraform module downloads the zipball_url ala
terraform-nuclear-pond/artifacts.tf
Line 30 in 28faf3b
With template version 9.5.1 this unzips to "projectdiscovery-nuclei-templates-8153ef2".
Digging further, it appears that nuclearpond is ALWAYS downloading templates, because after the fixes required to make it respect the $HOME directory, it will always look in /tmp/nuclei-templates and find nothing.
I tried including a .templates-config.json, but it appeared to have no effect, so I have modified the main.go to add an explicit '-ud' flag.
At this point I realized that the templates where not where they were expected, and the download link should probably look something like the nuclei release since that produces predictable output.