nuclei icon indicating copy to clipboard operation
nuclei copied to clipboard

Support for AND based tags execution (tags / etags / itags)

Open ehsandeep opened this issue 2 years ago • 1 comments

Discussed in https://github.com/projectdiscovery/nuclei-templates/discussions/4546

Originally posted by AaronChen0 June 6, 2022 I want to scan only xss on wordpress sites. I try something like, nuclei -tags wordpress -s medium -etags tag1,tag2,tag3 -l urls.txt. Any better ways?


Please describe your feature request:

Allow filtering template tags with and conditions.

Describe the use case of this feature:

More control over template execution which will allow cases like,

  • Running wordpress template for xss vulnerability.
  • Running ssrf templates in jira

Proposed solutions:

New CLI flag:

   -tc, -tags-condition          condition to apply on tags input, and/or (default or)

Existing flag improvement (more flexible):

nuclei -tags "xss && wordpress"
nuclei -tags "xss,ssrf && wordpress,jira"

ehsandeep avatar Jul 01 '22 10:07 ehsandeep

Superseded by https://github.com/projectdiscovery/nuclei/issues/2358

Mzack9999 avatar Jul 28 '22 09:07 Mzack9999