Skip to content

As far as I can tell, there are a number of issues with template download #5

Description

@S4lt5

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions