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: Allow uploading of multiple Nuclei templates #461

Closed
iamxhunt3r opened this issue Aug 20, 2021 · 10 comments
Closed

feat: Allow uploading of multiple Nuclei templates #461

iamxhunt3r opened this issue Aug 20, 2021 · 10 comments
Assignees

Comments

@iamxhunt3r
Copy link

Is there any way whether manually or by UI to add many custom nuclei templates in rengine?

@rakesh6927
Copy link

rakesh6927 commented Aug 21, 2021

yes you can navigate to https://localhost/scanEngine/tool_settings and find nuclei section.

@iamxhunt3r
Copy link
Author

yes you can navigate to https://localhost/scanEngine/tool_settings and find nuclei section.

As mentioned above can we add many ( 2 or more at a time) custom nuclei templates ?

@yogeshojha
Copy link
Owner

No, you can only add one nuclei file at a time, as of now.

I will work on selection of multiple nuclei templates.

@yogeshojha yogeshojha added this to the reNgine 1.1 milestone Aug 28, 2021
@iamxhunt3r
Copy link
Author

Well i found a way we can put templates manually on docker

@yogeshojha yogeshojha added the good first issue Good for First time contributors label Sep 9, 2021
@innerfire3
Copy link

Well i found a way we can put templates manually on docker

How?

@yogeshojha yogeshojha added 1.2.1 and removed 1.2.1 labels Jun 5, 2022
@yogeshojha yogeshojha removed this from the reNgine 1.1 milestone Aug 12, 2022
@y0d4a
Copy link

y0d4a commented Oct 30, 2022

Well i found a way we can put templates manually on docker

would you like to tell us ?
DId just copy yaml inside /var/lib/docker/volumes/rengine_nuclei_templates/_data/
works?

@Tamirye
Copy link

Tamirye commented Aug 8, 2023

stupid workaround i found

#!/bin/bash

source_folder="/path/to/nuclei/templates"
destination_folder="/var/lib/docker/volumes/rengine_nuclei_templates/_data/"

# Use find to locate all YAML files inside the source folder
find "$source_folder" -type f -name "*.yaml" -exec cp {} "$destination_folder" \;

@precursorphishy
Copy link

How have people mass added their new templates to their scanner engine? The documentation states you need to list each file manually?

Is it a case of creating a new folder within the volume, moving all files there, then formatting all names into yaml friendly formatting for the custom_templates section? Does it need to include the folder name or just name of template?

@psyray
Copy link
Contributor

psyray commented Feb 24, 2024

How have people mass added their new templates to their scanner engine? The documentation states you need to list each file manually?

Yes for the moment.

Is it a case of creating a new folder within the volume, moving all files there, then formatting all names into yaml friendly formatting for the custom_templates section? Does it need to include the folder name or just name of template?

You can mass add the templates directly inside the Celery container, via the docker volumes
image

docker volume ls
local     rengine_gf_patterns
local     rengine_github_repos
local     rengine_nuclei_templates
local     rengine_postgres_data
local     rengine_scan_results
local     rengine_static_volume
local     rengine_tool_config
local     rengine_wordlist

My docker volume is in this location

/opt/docker/volumes/rengine_nuclei_templates/_data

@yogeshojha yogeshojha changed the title How can we add multiple nuclei templates in rengine. feat: Allow uploading of multiple Nuclei templates Jul 22, 2024
@yogeshojha
Copy link
Owner

PR #1320

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

No branches or pull requests

8 participants