Vulhub-Base
Environment: Ubuntu 22.04 Docker
Lab: Vulhub
1.0 靶场搭建
01 官方网址
1 | https://vulhub.org/zh |
02 仓库克隆
1 | git clone https://github.com/vulhub/vulhub.git |
2.0 靶场下载
案例: CVE-2023-27524
1 | /vulhub/superset/CVE-2023-27524 |

使用docker拉取靶场
1 | docker compose up -d |
网络问题解决方案:
执行
docker compose up -d时, 由于国内网络问题, 导致镜像pull失败, 返回connection reset by peerHTTP 代理
写入以下内容
1 | /etc/systemd/system/docker.service.d/http-proxy.conf |
1 | # 配置重载 |

成功pull image
备注: 配置代理需清空daemon.json第三方镜像源