/cent

Community edition nuclei templates, a simple tool that allows you to organize all the Nuclei templates offered by the community in one place

Primary LanguageGoApache License 2.0Apache-2.0

Cent

Community edition nuclei templates, a simple tool that allows you to organize all the Nuclei templates offered by the community in one place.


Apache license badge



Install

GO111MODULE=on go get -u github.com/xm1k3/cent

Or download from releases

after installation run cent init to initialize cent with the configuration files you find here

Supported commands

Command Description
init Cent init configuration file
update Update your repository
version Print cent version

Root flags

Flags:
      --config string   config file (default is $HOME/.cent.yaml)
  -C, --console         Print console output
  -k, --keepfolders     Keep folders (by default it only saves yaml files)
  -p, --path string     Root path to save the templates (default "cent-nuclei-templates")
  -t, --threads int     Number of threads to use when cloning repositories (default 10)

Update flags

This command helps you update your folder with templates by deleting unnecessary folders and files without having to do multiples git clones.

Flags:
  -d, --directories   If true remove unnecessary folders from updated $HOME/.cent.yaml
  -f, --files         If true remove unnecessary files from updated $HOME/.cent.yaml
  -p, --path string   Path to folder with nuclei templates

Init flags

This command will automatically download .cent.yaml from repo and copy it to $HOME/.cent.yaml

Flags:
  -h, --help         help for init
  -o, --overwrite    If the cent file exists overwrite it
  -u, --url string   Url from which you can download the configurations for .cent.yaml

Usage

▶ cent -h
▶ cent init -h
▶ cent update -h
▶ cent version

Example:

Clone and insert all the community templates into the cent-nuclei-templates folder

▶ cent -p cent-nuclei-templates -k

cent

If you have updated the cent.yaml file by adding new folders

exclude-dirs:
  - ...
  - dns
  - ...

just do:

▶ cent update -p cent-nuclei-templates -d

and cent will automatically delete all dns folder present in cent-nuclei-templates without cloning all the github repos.

cent update

Same thing with exclude-files

▶ cent update -p cent-nuclei-templates -f

Once cent has been configured correctly you can perform a scan with Nuclei.

Example

▶ nuclei -u https://example.com -t ./cent-nuclei-templates -tags cve
▶ nuclei -l urls.txt -t ./cent-nuclei-templates -tags cve

See here for more documentation about Nuclei

Config

You need to configure cent parameters in $HOME/.cent.yaml

# Directories to exclude
exclude-dirs:
  - SOMETHING

# Files to exclude
exclude-files:
  - README.md
  - .gitignore
  - .pre-commit-config.yaml

# Add github urls
community-templates:
  - https://github.com/geeknik/the-nuclei-templates
  - https://github.com/pikpikcu/nuclei-templates
  - https://github.com/panch0r3d/nuclei-templates
  - https://github.com/ARPSyndicate/kenzer-templates
  - https://github.com/medbsq/ncl
  - https://github.com/foulenzer/foulenzer-templates
  - https://github.com/im403/nuclei-temp
  - https://github.com/System00-Security/backflow
  - https://github.com/geeknik/nuclei-templates-1
  - https://github.com/esetal/nuclei-bb-templates
  - https://github.com/notnotnotveg/nuclei-custom-templates
  - https://github.com/clarkvoss/Nuclei-Templates
  - https://github.com/z3bd/nuclei-templates
  - https://github.com/joanbono/nuclei-templates
  - https://github.com/peanuth8r/Nuclei_Templates
  - https://github.com/thebrnwal/Content-Injection-Nuclei-Script
  - https://github.com/ree4pwn/my-nuclei-templates
  - https://github.com/optiv/mobile-nuclei-templates
  - https://github.com/obreinx/nuceli-templates
  - https://github.com/randomstr1ng/nuclei-sap-templates
  - https://github.com/CharanRayudu/Custom-Nuclei-Templates
  - https://github.com/zinminphyo0/KozinTemplates
  - https://github.com/n1f2c3/mytemplates
  - https://github.com/kabilan1290/templates
  - https://github.com/smaranchand/nuclei-templates
  - https://github.com/Saimonkabir/Nuclei-Templates
  - https://github.com/yavolo/nuclei-templates
  - https://github.com/sadnansakin/my-nuclei-templates
  - https://github.com/5cr1pt/templates
  - https://github.com/rahulkadavil/nuclei-templates
  - https://github.com/Nithissh0708/Custom-Nuclei-Templates
  - https://github.com/shifa123/detections
  - https://github.com/daffainfo/my-nuclei-templates

Credits

License

Cent is distributed under Apache-2.0 License