Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
cent — 社区版 Nuclei 模板,一款简单的工具,可让你将所有社区提供的 Nuclei 模板集中整理到一个地方。 | Kitploit
工具/GitHubGitHub/xm1k3/cent
漏洞扫描器Web安全渗透测试精选资源
GitHubxm1k3/cent

cent

社区版 Nuclei 模板,一款简单的工具,可让你将所有社区提供的 Nuclei 模板集中整理到一个地方。

查看仓库
1.0k1662个月前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Cent

社区版 Nuclei 模板,一个简单的工具,让你可以将社区提供的所有 Nuclei 模板集中在一个地方。


Apache license badge


安装

root@kitploit:~
go install -v github.com/xm1k3/cent/v2@latest

或者 从 releases 下载

安装后运行 cent init,使用你可在此处找到的配置文件来初始化 cent。

支持的命令

根标志

root@kitploit:~
Flags:
      --config string   config file (default is .config/cent/.cent.yaml)
  -r, --by-repo         Group templates by repository (use with -k)
  -C, --console         Print console output
  -k, --keep-folders    Keep templates organized in folders by category
  -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)
  -T, --timeout int     Timeout in minutes for each git clone (default 2)

用法

root@kitploit:~
cent -h
cent check -h
cent init -h
cent update -h
cent summary -h
cent validate -h
cent version

基本用法

将所有社区模板克隆并插入到 cent-nuclei-templates 文件夹中

root@kitploit:~
cent -p cent-nuclei-templates

输出示例:

root@kitploit:~
cent started
[CLONED] https://github.com/projectdiscovery/nuclei-templates
[CLONED] https://github.com/0xSojalSec/nuclei-templates-4
[CLONED] https://github.com/0xPugazh/my-nuclei-templates
[CLONED] https://github.com/0xSojalSec/my-nuclei-templates-1
[CLONED] https://github.com/0x727/ObserverWard
[CLONED] https://github.com/0xAwali/Blind-SSRF
[CLONED] https://github.com/0x727/ObserverWard_0x727
[CLONED] https://github.com/0xAwali/Virtual-Host
[CLONED] https://github.com/0xSojalSec/Nuclei-Templates-API-Linkfinder
...
... 
...
cent finished, you can find all your nuclei-templates in cent-nuclei-templates

按类别整理模板

使用 -k 标志保留每个仓库的内部文件夹结构:

root@kitploit:~
cent -p cent-nuclei-templates -k

这将创建一个类似如下的文件夹结构:

root@kitploit:~
cent-nuclei-templates/
  cves/
    CVE-2021-1234.yaml
  vulnerabilities/
    template.yaml
  others/
    uncategorized-template.yaml

没有源仓库子文件夹的模板会被放在 others/ 中。

按仓库对模板分组

使用 -k -r 可按源仓库对模板进行分组:

root@kitploit:~
cent -p cent-nuclei-templates -k -r
root@kitploit:~
cent-nuclei-templates/
  projectdiscovery/nuclei-templates/
    cves/
      CVE-2021-1234.yaml
    vulnerabilities/
      template.yaml
  user/repo-name/
    others/
      custom-template.yaml

Summary 命令

summary 命令提供有关你的 nuclei 模板集合的详细统计信息:

基本摘要

root@kitploit:~
# Display summary in table format
cent summary

# Display summary in JSON format
cent summary --json

高级摘要功能

root@kitploit:~
# Limit number of tags displayed (default: 25)
cent summary --limit 10

# Search for specific data in summary
cent summary --search cve
cent summary --search wordpress
cent summary --search critical

# Update summary data
cent summary update

# Update with custom path
cent summary update -p /path/to/templates

摘要输出示例

root@kitploit:~
=== NUCLEI TEMPLATES SUMMARY ===

+-------------------+-------+
| METRIC            | COUNT |
+-------------------+-------+
| Total Templates   |  3249 |
| CVE Templates     |  3821 |
| Invalid Templates |     1 |
| Valid Templates   |  3248 |
+-------------------+-------+

=== SEVERITY DISTRIBUTION ===
+----------+-------+
| SEVERITY | COUNT |
+----------+-------+
| CRITICAL |   582 |
| HIGH     |   877 |
| MEDIUM   |   877 |
| LOW      |    63 |
| INFO     |   744 |
+----------+-------+

=== TOP TAGS ===
+---------------+-------+
| TAG           | COUNT |
+---------------+-------+
| cve           |  1909 |
| xss           |   569 |
| wordpress     |   487 |
| lfi           |   459 |
| wp-plugin     |   450 |
+---------------+-------+

JSON 输出结构

root@kitploit:~
{
  "metrics": {
    "total_templates": 3249,
    "cve_templates": 3821,
    "invalid_templates": 1,
    "valid_templates": 3248
  },
  "severity_distribution": {
    "CRITICAL": 582,
    "HIGH": 877,
    "MEDIUM": 877,
    "LOW": 63,
    "INFO": 744
  },
  "tags": {
    "cve": 1909,
    "xss": 569,
    "wordpress": 487
  },
  "last_updated": "2024-01-15 14:30:25"
}

Update 命令

如果你通过添加新文件夹更新了 cent.yaml 文件

root@kitploit:~
exclude-dirs:
  - ...
  - dns
  - ...

只需执行:

root@kitploit:~
cent update -p cent-nuclei-templates -d

cent 将自动删除 cent-nuclei-templates 中所有 dns 文件夹,而无需克隆所有 GitHub 仓库。

输出示例:

root@kitploit:~
[D][-] Dir  removed	cent-nuclei-templates/dns
[D][-] Dir  removed	cent-nuclei-templates/dns/subdomain

exclude-files 同理:

root@kitploit:~
cent update -p cent-nuclei-templates -f

配置管理

初始化配置

root@kitploit:~
# Initialize with default configuration
cent init

# Initialize with custom URL
cent init --url https://example.com/config.yaml

# Overwrite existing configuration
cent init --overwrite

检查配置状态

root@kitploit:~
# Check if configuration file exists
cent init check

检查模板仓库

root@kitploit:~
# Check if all template repositories are accessible
cent check

# Remove inaccessible repositories from config
cent check --remove

一旦 cent 配置正确,你就可以使用 Nuclei 进行扫描。

示例

root@kitploit:~
nuclei -u https://example.com -t ./cent-nuclei-templates -tags cve
nuclei -l urls.txt -t ./cent-nuclei-templates -tags cve

有关 Nuclei 的更多文档,请参见此处。

配置

你需要在 .config/cent/.cent.yaml 中配置 cent 参数。

root@kitploit:~
# Directories to exclude
exclude-dirs:
  - .git

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

# Add github urls (simple format)
community-templates:
  - https://github.com/projectdiscovery/nuclei-templates
  - https://github.com/other/repo

  # Extended format: pin a repo to a specific commit
  - url: https://github.com/user/repo
    commit: abc123f

  # Extended format: per-repo exclude
  - url: https://github.com/user/repo2
    exclude:
      - "workflows/"
      - "fuzzing/"

这两种格式可以在同一个配置文件中混合使用。当指定了 commit 时,cent 将克隆完整的仓库并检出该特定提交,而不是使用浅克隆。每个仓库的 exclude 会过滤掉该特定仓库中匹配的路径。

致谢

  • hakluke
  • Nuclei
  • Project Discovery
  • sec715
  • geeknik
  • SYSTEM00 SECURITY
  • clarkvoss
  • notnotnotveg
  • Alra3ees - Emad Shanab
  • Nuclei-Templates-Collection

免责声明

免责声明:本工具的开发者不对社区如何使用其中收集的开源模板负责。这些模板未经 Project Discovery 验证,按原样提供。

许可证

Cent 依据 Apache-2.0 许可证分发。

下载工具
命令
描述
check检查模板仓库是否仍然可用
init初始化 cent 配置文件
summary打印 nuclei 模板的详细摘要
update更新你的仓库
validate校验模板,如果模板无效则将其从文件夹中删除
version打印 cent 版本