# xpoc **Repository Path**: gitee123mutouren/xpoc ## Basic Information - **Project Name**: xpoc - **Description**: 供应链漏洞扫描设计的快速应急响应工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-21 - **Last Updated**: 2025-01-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
快速开始 • 特点 • 使用 • 贡献 • 下载 • 使用文档
---
## 🚀 快速使用
**在使用之前,请务必阅读并同意 [License](./LICENSE.md) 文件中的条款,否则请勿安装使用本工具。**
1. 扫描指定目标
- `./xpoc -t https://example.com -o result.html`
2. 查看所有云端的POC
- `./xpoc list -a`
3. 批量扫描
- `./xpoc < targets.txt`
- ` cat targets.txt | ./xpoc`
- `./xpoc -i targets.txt`
4. 同步最新插件
首次启动会自动进行一次全量同步
- `./xpoc pull`
5. 更新到最新版本
- `./xpoc upgrade`
## 🪟 特点
1. 支持云端获取POC,可以以最快的速度进行应急响应
2. 使用xray yaml poc脚本格式,支持TCP/UDP协议的插件的编写和加载,并可以使用golang自定义插件实现功能增强
3. 自定义golang插件,支持更多种的漏洞检测,支持加载工具插件等
- 漏洞扫描
- 向yaml脚本注入新功能
- 自定义爬虫
- 网页截图
- ...
## 📦 安装使用
在[releases](https://github.com/chaitin/xpoc/releases)中下载对应的系统的最新版即可,运行`xpoc -h`即可查看帮助
```bash
__ /\ /\_. ___. _____
| |/ / / __.\/ __.\/ ____|
| /XRAY™/_/ / / / / /
/ . | / .___/ /_/ / /___.
/ /|_| / / \____/\____/
\/v0.0.3\/cloud plugins: [97]
[INFO] 2023-05-26 15:10:17 use config at: xpoc-config.yaml [strategy.go:30]
NAME:
xpoc - light poc scanner
USAGE:
Scan single target: xpoc -t https://example.com
└> multiple targets: xpoc -t 192.168.0.1,192.168.0.1:443,tcp://192.168.1.1:8000
Input from file: xpoc -i targets.txt
└> from pipe: cat targets.txt | xpoc
Output to JSON: xpoc -t https://example.com -o result.json
└> to HTML: xpoc -t https://example.com -o result.html
Run plugins form cloud: xpoc -r 1 -t http://example.com
└> plugins from local: xpoc -r ./poc-yaml-example.yaml -t http://example.com
List local plugins: xpoc list
└> cloud plugins: xpoc list -a
Pull all cloud plugins: xpoc pull
└> specific plugins: xpoc pull -id 1
COMMANDS:
pull 下载及更新插件
add 将文件添加到插件仓库
list 列出插件
upgrade 升级到最新版本
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--run value, -r value 执行指定插件 多个插件间','分割 支持glob语法 用于测试插件或过滤插件
--enable value, -e value 在默认策略(全量探测)基础上增加本地插件,支持glob语法
--disable value, -d value 禁用部分插件,支持glob语法
--config value, -c value 指定配置文件
--debug debug (default: false)
--quiet, -q 不显示banner (default: false)
-p value 需要探测的TCP端口
提供平台注册id进行验证,验证通过后即可进群!
参照: https://docs.xray.cool/#/guide/contribute
## 🔧周边生态
### POC编写辅助工具
该工具可以辅助生成POC,且在线版支持**poc查重**,本地版支持直接发包验证
#### 在线版
- [**规则实验室**](https://poc.xray.cool)
- 在线版支持对**poc查重**
#### 本地版
- [**gamma-gui**](https://github.com/zeoxisca/gamma-gui)
### xray gui辅助工具
本工具仅是简单的命令行包装,并不是直接调用方法。在 xray 的规划中,未来会有一款真正的完善的 GUI 版 XrayPro 工具,敬请期待。
- [**super-xray**](https://github.com/4ra1n/super-xray)
## 📝 讨论区
提交误报漏报需求等等请务必先阅读 https://docs.xray.cool/#/guide/feedback
如有问题可以在 GitHub 提 issue, 也可在下方的讨论组里
1. GitHub issue: https://github.com/chaitin/xpoc/issues
2. 微信公众号:微信扫描以下二维码,关注我们
3. 微信群: 请添加微信公众号并点击“联系我们" -> "加群“,然后扫描二维码加群
4. QQ 群: 717365081