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

nuclei-templates not used by nuclei package #3382

Open
noraj opened this issue Apr 17, 2022 · 7 comments · May be fixed by #4357
Open

nuclei-templates not used by nuclei package #3382

noraj opened this issue Apr 17, 2022 · 7 comments · May be fixed by #4357

Comments

@noraj
Copy link
Contributor

noraj commented Apr 17, 2022

Also right now our package nuclei-templates is pretty useless and not needed as a dependency of nuclei. Why?
Because since 2.4.0 nuclei is auto-downloading and updating the templates to ~/nuclei-templates and is not aware of what we deployed at /usr/share/nuclei-templates.

$ nuclei
                                                                                                                                                                                                                                             
                     __     _                                                                                                                                                                                                                
   ____  __  _______/ /__  (_)                                                                                                                                                                                                               
  / __ \/ / / / ___/ / _ \/ /                                                                                                                                                                                                                
 / / / / /_/ / /__/ /  __/ /                                                                                                                                                                                                                 
/_/ /_/\__,_/\___/_/\___/_/   2.6.3                                                                                                                                                                                                          
                                                                                                                                                                                                                                             
                projectdiscovery.io                                                                                                                                                                                                          
                                                                                                                                                                                                                                             
[WRN] Use with caution. You are responsible for your actions.                                                                                                                                                                                
[WRN] Developers assume no liability and are not responsible for any misuse or damage.                                                                                                                                                       
[INF] nuclei-templates are not installed, installing...                                                                                                                                                                                      
[INF] Successfully downloaded nuclei-templates (v8.9.3) to /home/noraj/nuclei-templates. GoodLuck!
[WRN] Found 2 templates with runtime error (use -validate flag for further examination)

So to make the nuclei-templates install system wide taken into account by nuclei we should complexify the install steps :

So the templates would not be downloaded once per user and making the user home messy.

@dualfade
Copy link
Contributor

dualfade commented May 29, 2022

You are correct.
Sorry; mis-read this.

This is not needed.

@D3vil0p3r
Copy link
Contributor

@noraj should it go in remove list?

@noraj
Copy link
Contributor Author

noraj commented Oct 6, 2024

should it go in remove list?

No. nuclei PKGBUILD should be updated instead. In a way to use nuclei-templates as described above.

@D3vil0p3r
Copy link
Contributor

D3vil0p3r commented Nov 8, 2024

Just to summarize:

@noraj
Copy link
Contributor Author

noraj commented Nov 8, 2024

Remove nuclei-templates as dependency in nuclei

The idea is quite the contrary. It's to make nuclei really use nuclei-templates

@D3vil0p3r
Copy link
Contributor

Also right now our package nuclei-templates is pretty useless and not needed as a dependency of nuclei.

Ok... I misled this statement

@D3vil0p3r D3vil0p3r linked a pull request Nov 17, 2024 that will close this issue
@D3vil0p3r
Copy link
Contributor

#4357

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

Successfully merging a pull request may close this issue.

3 participants