Check feature
cent check --help
Check if templates repo are still available
Usage:
cent check [flags]
Flags:
-h, --help help for check
-r, --remove Remove from .cent.yaml urls that are no longer accessible or are currently private
Global Flags:
--config string config file (default is $HOME/.cent.yaml)
Test yaml
...
...
community-templates:
- https://github.com/joanbono/nuclei-templates
- https://github.com/0xPugazh/my-nuclei-templates
- https://github.com/1in9e/my-nuclei-templates
- https://github.com/5cr1pt/templates
Command
cent check --config .cent.yaml -r
Output
[ERR] URL https://github.com/joanbono/nuclei-templates Status code: 404
[SUCCESS] URL https://github.com/0xPugazh/my-nuclei-templates Status code: 200
[SUCCESS] URL https://github.com/1in9e/my-nuclei-templates Status code: 200
[SUCCESS] URL https://github.com/5cr1pt/templates Status code: 200
Updated yaml
...
...
community-templates:
- https://github.com/0xPugazh/my-nuclei-templates
- https://github.com/1in9e/my-nuclei-templates
- https://github.com/5cr1pt/templates