This script helps manage Nuclei templates by organizing them into blocks and removing duplicates.
- Count the total number of YAML templates in a specified directory.
- Remove duplicate templates using
fdupes
. - Organize templates into blocks of a specified size within a
partitioned
directory.
- Python 3.x installed.
fdupes
package installed (for duplicate removal).
-
Clone the repository or download the
manage-cent-templates.py
script. -
Open a terminal and navigate to the directory containing the script.
-
Run the script with Python 3:
python3 manage-cent-templates.py