feat: 添加Redis测试靶场

This commit is contained in:
ZacharyZcR
2024-12-20 19:49:22 +08:00
parent 3fe6e3eec5
commit e6545417b8
3 changed files with 30 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# 使用Redis官方镜像
FROM redis:latest
# 替换默认配置文件
COPY redis.conf /usr/local/etc/redis/redis.conf
# 开放6379端口
EXPOSE 6379
# 启动Redis
CMD ["redis-server", "/usr/local/etc/redis/redis.conf"]