Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
96 lines
4.2 KiB
Markdown
96 lines
4.2 KiB
Markdown
<!-- markdownlint-disable first-line-heading -->
|
||
<p align="center">
|
||
<a href="https://vulhub.org" target="_blank"><img src=".github/assets/banner.png" alt="Vulhub" height="auto" /></a>
|
||
</p>
|
||
|
||
<p align="center">
|
||
<a href="https://discord.gg/bQCpZEK" target="_blank"><img src="https://img.shields.io/discord/485505185167179778.svg" alt="Chat on Discord"></a>
|
||
<a href="https://github.com/sponsors/phith0n" target="_blank"><img src="https://img.shields.io/github/sponsors/phith0n?color=aqua" alt="GitHub Sponsors"></a>
|
||
<a href="https://vulhub.org/environments" target="_blank"><img alt="Vulnerabilities count" src="https://img.shields.io/badge/dynamic/json?url=https://vulhub.org/api/statistic&query=%24.environments&label=vulnerabilities"></a>
|
||
<img alt="GitHub language count" src="https://img.shields.io/github/languages/count/vulhub/vulhub?color=yellow">
|
||
<a href="https://github.com/vulhub/vulhub/graphs/contributors" target="_blank"><img alt="GitHub contributors" src="https://img.shields.io/github/contributors-anon/vulhub/vulhub?color=orange"></a>
|
||
<a href="https://github.com/vulhub/vulhub/blob/master/LICENSE" target="_blank"><img src="https://img.shields.io/github/license/vulhub/vulhub.svg" alt="GitHub"></a>
|
||
</p>
|
||
|
||
Vulhub是一个开源的、即开即用的漏洞靶场环境集合。无需Docker基础,只需一条命令即可快速启动用于安全研究、学习或演示的漏洞环境。
|
||
|
||
## 快速开始
|
||
|
||
**安装Docker**(以Ubuntu 22.04为例):
|
||
|
||
```bash
|
||
curl -s https://get.docker.com/ | sh
|
||
systemctl start docker
|
||
```
|
||
|
||
其他操作系统请参考[Docker官方文档](https://docs.docker.com/)。
|
||
|
||
虽然所有Vulhub环境都基于Docker compose制作,但你不再需要安装独立的docker-compose,而是使用Docker自带的compose命令来启动Vulhub环境。
|
||
|
||
**下载并解压Vulhub:**
|
||
|
||
```bash
|
||
git clone --depth 1 https://github.com/vulhub/vulhub
|
||
```
|
||
|
||
**启动一个漏洞环境:**
|
||
|
||
```bash
|
||
cd vulhub/langflow/CVE-2025-3248 # Example: enter a vulnerability directory
|
||
docker compose up -d
|
||
```
|
||
|
||
每个环境目录下都包含详细的**README**,请参阅以了解复现步骤和使用说明。
|
||
|
||
**测试完成后清理环境:**
|
||
|
||
```bash
|
||
docker compose down -v
|
||
```
|
||
|
||
> [!NOTE]
|
||
>
|
||
> - 推荐使用至少1GB内存的VPS或虚拟机
|
||
> - 文档中的`your-ip`指你的主机/VPS IP,不是Docker容器内部IP
|
||
> - 请确保Docker有权限访问当前目录下所有文件,避免权限错误
|
||
> - Vulhub目前仅支持x86架构(不支持ARM)
|
||
> - **所有环境仅供测试与学习,严禁用于生产环境!**
|
||
|
||
## 贡献
|
||
|
||
如遇到编译或运行错误,请优先排查Docker及相关依赖问题。如确认是Dockerfile或Vulhub代码问题,请提交issue。常见问题可参考[FAQ](https://vulhub.org/documentation/faq)。
|
||
|
||
如有疑问,欢迎联系我们:
|
||
|
||
- [Discord](https://discord.gg/bQCpZEK)
|
||
- [Twitter](https://twitter.com/vulhub)
|
||
|
||
感谢所有[贡献者](contributors.md):
|
||
|
||
[](https://github.com/vulhub/vulhub/graphs/contributors)
|
||
|
||
## 合作伙伴
|
||
|
||
我们的合作伙伴与用户:
|
||
|
||
<p>
|
||
<a href="https://www.wangan.com/vulhub" target="_blank"><img src="https://vulhub.org/sponsor/wangan.png" width="200"></a>
|
||
<a href="https://www.cvebase.com" target="_blank"><img src="https://vulhub.org/sponsor/cvebase.png" width="200"></a>
|
||
<a href="https://www.huoxian.cn" target="_blank"><img src="https://vulhub.org/sponsor/huoxian.png" width="200"></a>
|
||
<a href="https://www.chaitin.cn" target="_blank"><img src="https://vulhub.org/sponsor/chaitin.png" width="200"></a>
|
||
<a href="https://xianzhi.aliyun.com/" target="_blank"><img src="https://vulhub.org/sponsor/aliyun.svg" width="200"></a>
|
||
</p>
|
||
|
||
欢迎通过[GitHub Sponsor](https://github.com/sponsors/phith0n)、[OpenCollective](https://opencollective.com/vulhub#backer)或[Patreon](https://www.patreon.com/bePatron?u=12677520)支持Vulhub 🙏
|
||
|
||
<p>
|
||
<a href="https://github.com/sponsors/phith0n"><img src="https://opencollective.com/vulhub/backers.svg?width=138"></a>
|
||
<a href="https://github.com/sponsors/phith0n"><img src="https://opencollective.com/vulhub/sponsors.svg?width=138"></a>
|
||
</p>
|
||
|
||
更多[捐助方式](https://vulhub.org)。
|
||
|
||
## License
|
||
|
||
Vulhub 遵循 MIT License,详见[LICENSE](LICENSE)。
|