Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assetnote/react2shell-scanner
/ functions
Functions
20 in github.com/assetnote/react2shell-scanner
⨍
Functions
20
◇
Types & classes
1
↓ 28 callers
Function
colorize
Apply color to text.
scanner.py:54
↓ 4 callers
Function
print_result
(result: dict, verbose: bool = False)
scanner.py:491
↓ 2 callers
Function
build_request_str
(url: str)
scanner.py:352
↓ 2 callers
Function
build_response_str
(resp: requests.Response)
scanner.py:362
↓ 2 callers
Function
send_payload
Send the exploit payload to a URL. Returns (response, error).
scanner.py:242
↓ 1 callers
Function
build_rce_payload
Build the RCE PoC multipart form data payload.
scanner.py:149
↓ 1 callers
Function
build_safe_payload
Build the safe multipart form data payload for the vulnerability check (side-channel).
scanner.py:99
↓ 1 callers
Function
build_vercel_waf_bypass_payload
Build the Vercel WAF bypass multipart form data payload.
scanner.py:117
↓ 1 callers
Function
check_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 callers
Function
generate_junk_data
Generate random junk data for WAF bypass.
scanner.py:92
↓ 1 callers
Function
load_hosts
Load hosts from a file, one per line.
scanner.py:434
↓ 1 callers
Function
load_paths
Load paths from a file, one per line.
scanner.py:452
↓ 1 callers
Function
main
()
scanner.py:524
↓ 1 callers
Function
normalize_host
Normalize host to include scheme if missing.
scanner.py:82
↓ 1 callers
Function
parse_headers
Parse a list of 'Key: Value' strings into a dict.
scanner.py:67
↓ 1 callers
Function
print_banner
Print the tool banner.
scanner.py:59
↓ 1 callers
Function
resolve_redirects
Follow redirects only if they stay on the same host.
scanner.py:206
↓ 1 callers
Function
save_results
(results: list[dict], output_file: str, vulnerable_only: bool = True)
scanner.py:473
Function
is_vulnerable_rce_check
Check if a response indicates vulnerability (RCE PoC check).
scanner.py:286
Function
is_vulnerable_safe_check
Check if a response indicates vulnerability (safe side-channel check).
scanner.py:269