
Automated Exploit Tool for Grafana CVE-2021-43798: Scanning common files that contain juicy informations and extracting SSH keys from compromised users.

This project is an automated exploit tool designed to scan for and extract sensitive information from compromised Grafana instances vulnerable to CVE-2021-43798. The tool identifies vulnerable plugins and extracts SSH keys from compromised users.
coloramaClone the repository:
git clone https://github.com/hxlxmjxbbxs/grafxploit.git
cd grafxploit
Install the required Python library:
pip install colorama
The tool can be run with various command-line options to specify targets, output directories, and additional paths to scan.
-t, --target: Check a single target in the format proto://ip:port.-i, --input-targets: Check multiple targets from a file in the format proto://ip:port.-o, --output: Directory to download the files if found.-p, --paths: File containing additional paths to check (default: common/paths.txt).Scan a single target:
python grafxploit.py -t http://192.168.1.100:3000
Scan multiple targets from a file:
python grafxploit.py -i targets.txt
Specify an output directory for downloaded files:
python grafxploit.py -t http://192.168.1.100:3000 -o output_directory
Halim Jabbes
22-07-2024