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

Add list template tags command #4798

Merged
merged 6 commits into from
May 4, 2024
Merged

Conversation

rsrdesarrollo
Copy link
Contributor

Proposed changes

Add CLI flag '-tgl' to list all the tags available on the templates (similar to -tl but for tags instead of templates)

Checklist

  • Pull request is created against the dev branch
  • All checks passed (lint, unit/integration/regression tests etc.) with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@olearycrew
Copy link
Contributor

Thanks for this contribution @rsrdesarrollo I love this!

Copy link

@xalgord xalgord left a comment

Choose a reason for hiding this comment

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

this feature was much needed ❤️

Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

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

  • fast processing of tags to reduce load time
  • output format update with sorting
  • jsonl format support

cc @Ice3man543

Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

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

$ ./nuclei -tgl -silent -j | head -n 10

{"tag":"cve","count":2416}
{"tag":"panel","count":1122}
{"tag":"wordpress","count":956}
{"tag":"exposure","count":895}
{"tag":"xss","count":890}
{"tag":"wp-plugin","count":836}
{"tag":"osint","count":804}
{"tag":"tech","count":673}
{"tag":"lfi","count":646}
{"tag":"misconfig","count":598}
$ ./nuclei -tgl -silent | head -n 10

cve (2416)
panel (1122)
wordpress (956)
exposure (895)
xss (890)
wp-plugin (836)
osint (804)
tech (673)
lfi (646)
misconfig (598)

@ehsandeep ehsandeep merged commit 673404a into projectdiscovery:dev May 4, 2024
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants