MCPcopy Create free account

hub / github.com/assetnote/react2shell-scanner / functions

Functions20 in github.com/assetnote/react2shell-scanner

↓ 28 callersFunctioncolorize
Apply color to text.
scanner.py:54
↓ 4 callersFunctionprint_result
(result: dict, verbose: bool = False)
scanner.py:491
↓ 2 callersFunctionbuild_request_str
(url: str)
scanner.py:352
↓ 2 callersFunctionbuild_response_str
(resp: requests.Response)
scanner.py:362
↓ 2 callersFunctionsend_payload
Send the exploit payload to a URL. Returns (response, error).
scanner.py:242
↓ 1 callersFunctionbuild_rce_payload
Build the RCE PoC multipart form data payload.
scanner.py:149
↓ 1 callersFunctionbuild_safe_payload
Build the safe multipart form data payload for the vulnerability check (side-channel).
scanner.py:99
↓ 1 callersFunctionbuild_vercel_waf_bypass_payload
Build the Vercel WAF bypass multipart form data payload.
scanner.py:117
↓ 1 callersFunctioncheck_vulnerability
Check if a host is vulnerable to CVE-2025-55182/CVE-2025-66478. Tests root path first. If not vulnerable and redirects exist, tests redirect
scanner.py:293
↓ 1 callersFunctiongenerate_junk_data
Generate random junk data for WAF bypass.
scanner.py:92
↓ 1 callersFunctionload_hosts
Load hosts from a file, one per line.
scanner.py:434
↓ 1 callersFunctionload_paths
Load paths from a file, one per line.
scanner.py:452
↓ 1 callersFunctionmain
()
scanner.py:524
↓ 1 callersFunctionnormalize_host
Normalize host to include scheme if missing.
scanner.py:82
↓ 1 callersFunctionparse_headers
Parse a list of 'Key: Value' strings into a dict.
scanner.py:67
↓ 1 callersFunctionprint_banner
Print the tool banner.
scanner.py:59
↓ 1 callersFunctionresolve_redirects
Follow redirects only if they stay on the same host.
scanner.py:206
↓ 1 callersFunctionsave_results
(results: list[dict], output_file: str, vulnerable_only: bool = True)
scanner.py:473
Functionis_vulnerable_rce_check
Check if a response indicates vulnerability (RCE PoC check).
scanner.py:286
Functionis_vulnerable_safe_check
Check if a response indicates vulnerability (safe side-channel check).
scanner.py:269