针对 GitLab 版本 < 13.10.3 的未授权远程代码执行利用程序
仅供教育/研究目的。使用风险自负
根本原因:
# convert C escape sequences (allowed in quoted text)
$tok = eval qq{"$tok"};
需要安装 djvumake 和 djvulibre 才能工作
安装 djvulibre(如果尚未安装)
sudo apt-get install -y djvulibre-bin
运行利用程序
python3 exploit.py -t <gitlab_url> -c <command>
已在版本 13.10.1-ce.0 上测试