rix4uni/nucleihub

GitHub: rix4uni/nucleihub

一款 Nuclei 社区模板聚合工具,支持从多种来源批量下载、自动去重和格式验证,帮助安全人员统一管理分散在各处的扫描模板。

Stars: 6 | Forks: 0

nucleihub

一个简单的工具,允许你将社区提供的所有 Nuclei 模板集中在一个地方进行组织,灵感来自 https://github.com/xm1k3/cent。

image ### nucleihub 支持所有这些 URL 类型(必须以 `.git`、`.yaml` 或 `.zip` 结尾) ``` https://github.com/rix4uni/nucleihub.git https://gist.githubusercontent.com/0x240x23elu/a450c1829de9bb4559ea0243bcc70714/raw/edcb9e91b6c1b1fa842b14e391c20bb1e2ef4c81/CVE-2023-26255.yaml https://github.com/projectdiscovery/nuclei-templates/archive/refs/heads/main.zip https://raw.githubusercontent.com/boobooHQ/private_templates/refs/heads/main/springboot_heapdump.yaml ``` ### 功能特性 - **自动扁平化**:将所有 `.yaml` 文件从子目录移动到根输出目录 - **重复文件处理**:当存在重复文件名时,保留较大的文件 - **智能过滤**:自动移除带有哈希后缀(例如,`file-d41d8cd98f00b204e9800998ecf8427e.yaml`)和数字后缀(例如,`file-23.yaml`)的重复文件 - **Nuclei 验证**:下载后验证所有模板(可通过 `--no-validate` 跳过) - **低资源占用**:针对 1GB VPS 环境进行了优化,采用缓冲 I/O 和受控并发 ## 安装说明 ``` go install github.com/rix4uni/nucleihub@latest ``` ## 下载预编译二进制文件 ``` wget https://github.com/rix4uni/nucleihub/releases/download/v0.0.4/nucleihub-linux-amd64-0.0.4.tgz tar -xvzf nucleihub-linux-amd64-0.0.4.tgz rm -rf nucleihub-linux-amd64-0.0.4.tgz mv nucleihub ~/go/bin/nucleihub ``` 或者为您的平台下载[二进制发布文件](https://github.com/rix4uni/nucleihub/releases)。 ## 从源码编译 ``` git clone --depth 1 github.com/rix4uni/nucleihub.git cd nucleihub; go install ``` ## 运行 Naabu ``` Usage of nucleihub: -o, --output-directory string Directory to download into (default "~/nucleihub-templates") -p, --parallel int Number of operations to perform in parallel (default 10) --no-validate Skip post-download nuclei validation --silent Silent mode (no banner) --version Print version and exit ``` ### 运行示例 **基础下载(从标准输入读取 URL):** ``` cat reponames.txt | nucleihub ``` **指定自定义输出目录:** ``` cat reponames.txt | nucleihub -o ~/my-templates ``` **为低资源 VPS 减少并行操作:** ``` cat reponames.txt | nucleihub -p 5 ``` **跳过 Nuclei 验证(速度更快):** ``` cat reponames.txt | nucleihub --no-validate ```
标签:CVE, EVTX分析, Google, Go语言, Nuclei, POC管理, SEO, VPS, 数字签名, 数据展示, 日志审计, 模板管理, 程序破解, 红队, 结构化查询, 自动化安全