Coder Social home page Coder Social logo

bbhunter / cent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xm1k3/cent

0.0 0.0 0.0 1.05 MB

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

License: Apache License 2.0

Go 100.00%

cent's Introduction

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

go install -v github.com/xm1k3/cent@latest

Or download from releases

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

Supported commands

Command Description
check Check if templates repo are still available
init Cent init configuration file
summary Print summary table
update Update your repository
validate Validate templates, if the template is invalid it is deleted from the folder
version Print cent version

Root flags

Flags:
      --config string   config file (default is $HOME/.cent.yaml)
  -C, --console         Print console output
  -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)

Usage

cent -h
cent check -h
cent init -h
cent update -h
cent summary -h
cent validate -h
cent version

Example:

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

cent -p cent-nuclei-templates

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:
  - .git

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

# Add github urls
community-templates:
  - https://github.com/projectdiscovery/nuclei-templates
  ...
  ...

Credits

Disclaimer

Disclaimer: The developer of this tool is not responsible for how the community uses the open source templates collected within it. These templates have not been validated by Project Discovery and are provided as-is.

License

Cent is distributed under Apache-2.0 License

cent's People

Contributors

xm1k3 avatar szybnev avatar summersec avatar rix4uni avatar pikpikcu avatar hakluke avatar zerodivisi0n avatar ab2pentest avatar antonydevanchi avatar kibernautas avatar drjacky avatar frissi0n avatar numaan911098 avatar dreygur avatar cokebeer avatar ramsayotaku avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.