MCPcopy Index your code
hub / github.com/assetnote/react2shell-scanner / check_vulnerability

Function check_vulnerability

scanner.py:293–431  ·  view source on GitHub ↗

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 path. Returns a dict with: - host: the target host - vulnerable: True/False/None (None if error) - status_code: HTTP sta

(host: str, timeout: int = 10, verify_ssl: bool = True, follow_redirects: bool = True, custom_headers: Optional[dict[str, str]] = None, safe_check: bool = False, windows: bool = False, waf_bypass: bool = False, waf_bypass_size_kb: int = 128, vercel_waf_bypass: bool = False, paths: Optional[list[str]] = None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 8

normalize_hostFunction · 0.85
build_safe_payloadFunction · 0.85
build_rce_payloadFunction · 0.85
build_request_strFunction · 0.85
send_payloadFunction · 0.85
build_response_strFunction · 0.85
resolve_redirectsFunction · 0.85

Tested by

no test coverage detected