Exploit database

GH-9a6ad9b9cc12091158a1dfcbce304b72

exp-docs/cve-2021-22192

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-22192

2 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files17
exp-docs/cve-2021-22192Revision d000edd87e17

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

run.sh

Suggested starting fileShell · 560 bytes
#!/bin/sh

docker-compose up -d

echo "Gitlab is starting ..."
echo "You can access the site (http://127.0.0.1) after 5 minutes ."


# 更改 Gitlab Pages 的 nginx 代理服务为 127.0.0.1:8000
sleep 300
DOCKER_ID=`docker ps -aq --filter name=docker_gitlab`
if [ ! -z "${DOCKER_ID}" ]; then
    docker exec -u root ${DOCKER_ID} /bin/bash -c "cp /var/opt/gitlab/nginx/conf/gitlab-pages.conf.local /var/opt/gitlab/nginx/conf/gitlab-pages.conf"
    docker exec -u root ${DOCKER_ID} /bin/bash -c "gitlab-ctl restart nginx"
fi


echo "Gitlab is started ."
exit 0