Skip to content
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

Remote template workflow lists #1123

Merged

Conversation

EndPositive
Copy link
Contributor

@EndPositive EndPositive commented Oct 14, 2021

This PR closes #970 by adding the flags template-url and -workflow-url which retrieve lists of templates from remote URLs and add them to the corresponding Nuclei run. If a URL is not valid or it gives an unexpected response status, Nuclei exits. Only HTTP supported.

TEMPLATES:
   -tl                           list all available templates
   -t, -templates string[]       template or template directory paths to include in the scan
   -tu, -template-urls string[]  URL to a list of templates
   -w, -workflows string[]       list of workflows to run
   -wu, -workflow-urls string[]  URL to a list of workflows to run
   -nt, -new-templates           run newly added templates only
   -validate                     validate the passed templates to nuclei

@ehsandeep ehsandeep linked an issue Oct 14, 2021 that may be closed by this pull request
@ehsandeep ehsandeep added the Status: Review Needed The issue has a PR attached to it which needs to be reviewed label Oct 16, 2021
Copy link
Member

@Ice3man543 Ice3man543 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EndPositive nice work on the PR. Can you fix the lint errors please?

# Conflicts:
#	v2/cmd/nuclei/main.go
Copy link
Member

@Ice3man543 Ice3man543 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@Ice3man543 Ice3man543 merged commit 09cad25 into projectdiscovery:dev Nov 2, 2021
@ehsandeep ehsandeep added Status: Completed Nothing further to be done with this issue. Awaiting to be closed. and removed Status: Review Needed The issue has a PR attached to it which needs to be reviewed labels Nov 2, 2021
@EndPositive EndPositive deleted the remote-template-workflow-lists branch December 19, 2021 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

URL based template input support
3 participants