

このプロジェクトは、CVE-2021-43798 の脆弱性を持つ侵害された Grafana インスタンスをスキャンし、機密情報を抽出するための自動エクスプロイトツールです。このツールは脆弱なプラグインを特定し、侵害されたユーザーから SSH 鍵を抽出します。
coloramaリポジトリをクローン:
git clone https://github.com/hxlxmjxbbxs/grafxploit.git
cd grafxploit
必要な Python ライブラリをインストール:
pip install colorama
このツールは、ターゲット、出力ディレクトリ、追加スキャンパスを指定するためのさまざまなコマンドラインオプションを指定して実行できます。
-t, --target: proto://ip:port 形式で単一のターゲットをチェック。-i, --input-targets: proto://ip:port 形式でファイルから複数のターゲットをチェック。-o, --output: ファイルが見つかった場合のダウンロード先ディレクトリ。-p, --paths: 追加でチェックするパスを含むファイル (デフォルト: common/paths.txt)。単一ターゲットのスキャン:
python grafxploit.py -t http://192.168.1.100:3000
ファイルから複数ターゲットのスキャン:
python grafxploit.py -i targets.txt
ダウンロードファイルの出力ディレクトリを指定:
python grafxploit.py -t http://192.168.1.100:3000 -o output_directory
Halim Jabbes
22-07-2024