1、下载地址:git clone https://github.com/zhl2008/awd-platform.git
2、进入项目:cd awd-platform
3、通过docker下载镜像:docker pull zhl2008/web_14.04
4、修改镜像名字(或者改代码):docker tag zhl2008/web_14.04 web_14.04
5、创建赛题及队伍数量:
python batch.py web_yunnan_simple 2
web_yunnan_simple 为赛题;2为创建的队伍
6、启动比赛:
python start.py ./ 2
7、然后就会生成队伍名称及目录,ssh端口映射
8、提交flag:
http://xxxx:8801/flag_file?token=team1&flag=xxxxxxx
9、查看分数:
http://xxxx:8081/score.txt
10、结束
python stop_clean.py
参考文章:
https://blog.csdn.net/huanghelouzi/article/details/90204325
https://cloud.tencent.com/developer/article/1423407