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

Feat template update improvements #3675

Merged
merged 7 commits into from
May 11, 2023
Merged

Conversation

tarunKoyalwar
Copy link
Member

@tarunKoyalwar tarunKoyalwar commented May 11, 2023

Proposed changes

  • adds -reset flag to reset/remove all nuclei config & template files
$ ./nuclei -reset

Using '-reset' will delete all nuclei configurations files and all nuclei-templates

Following files will be deleted:
1. All Config + Resumes files at /Users/tarun/.config/nuclei
2. All nuclei-templates at /Users/tarun/nuclei-templates

Note: Make sure you have backup of your custom nuclei-templates before proceeding

Are you sure you want to continue? [y/n]: y
[INF] Successfully deleted all nuclei configurations files and nuclei-templates
  • bug fix in deprecated paths counter logic
  • adds support to move official nuclei templates when updating

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)

@tarunKoyalwar tarunKoyalwar marked this pull request as draft May 11, 2023 21:43
@tarunKoyalwar tarunKoyalwar marked this pull request as ready for review May 11, 2023 22:09
@tarunKoyalwar
Copy link
Member Author

$  ./nuclei -duc -t cves

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v2.9.3

		projectdiscovery.io

[WRN] Found 1 template[s] loaded with deprecated paths, update before v2.9.5 for continued support.
[WRN] Found 2 templates loaded with deprecated protocol syntax, update before v2.9.5 for continued support.
[INF] Current nuclei version: v2.9.3 (outdated)
[INF] Current nuclei-templates version: v9.5.0 (latest)
[INF] New templates added in latest release: 55
[INF] Templates loaded for current scan: 1728
[INF] No results found. Better luck next time!
$ ./nuclei -duc -t http/cves

                     __     _
   ____  __  _______/ /__  (_)
  / __ \/ / / / ___/ / _ \/ /
 / / / / /_/ / /__/ /  __/ /
/_/ /_/\__,_/\___/_/\___/_/   v2.9.3

		projectdiscovery.io

[WRN] Found 2 templates loaded with deprecated protocol syntax, update before v2.9.5 for continued support.
[INF] Current nuclei version: v2.9.3 (outdated)
[INF] Current nuclei-templates version: v9.5.0 (latest)
[INF] New templates added in latest release: 55
[INF] Templates loaded for current scan: 1728
[INF] No results found. Better luck next time!

@ehsandeep ehsandeep merged commit 4a6a018 into main May 11, 2023
11 checks passed
@ehsandeep ehsandeep deleted the feat-template-update-improvements branch May 11, 2023 23:47
@tarunKoyalwar tarunKoyalwar self-assigned this May 18, 2023
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.

None yet

2 participants