rengine icon indicating copy to clipboard operation
rengine copied to clipboard

feat: Allow uploading of multiple Nuclei templates

Open iamxhunt3r opened this issue 3 years ago • 10 comments

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

iamxhunt3r avatar Aug 20 '21 18:08 iamxhunt3r

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

rakesh6927 avatar Aug 21 '21 04:08 rakesh6927

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 ?

iamxhunt3r avatar Aug 24 '21 16:08 iamxhunt3r

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

I will work on selection of multiple nuclei templates.

yogeshojha avatar Aug 26 '21 10:08 yogeshojha

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

iamxhunt3r avatar Aug 30 '21 20:08 iamxhunt3r

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

How?

innerfire3 avatar Mar 01 '22 11:03 innerfire3

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?

y0d4a avatar Oct 30 '22 22:10 y0d4a

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" \;

Tamirye avatar Aug 08 '23 18:08 Tamirye

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?

precursorphishy avatar Feb 16 '24 12:02 precursorphishy

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

psyray avatar Feb 24 '24 18:02 psyray