pub struct React2ShellScanner { /* private fields */ }Available on crate feature
react2shell only.Expand description
React2Shell vulnerability scanner for detecting CVE-2025-55182.
Performs header analysis, JS bundle fingerprinting, RSC endpoint detection, sensitive file fuzzing, and secret extraction.
Implementations§
Source§impl React2ShellScanner
impl React2ShellScanner
Sourcepub async fn analyze_headers(&mut self) -> Result<()>
pub async fn analyze_headers(&mut self) -> Result<()>
Analyze HTTP response headers for Next.js/React indicators.
Sourcepub async fn fetch_static_bundles(&mut self) -> Result<()>
pub async fn fetch_static_bundles(&mut self) -> Result<()>
Fetch the target HTML and analyze embedded JS bundles for versions.
Sourcepub async fn check_flight_protocol(&mut self) -> Result<()>
pub async fn check_flight_protocol(&mut self) -> Result<()>
Test whether the target supports RSC/Server Actions (Flight protocol).
Sourcepub async fn fuzz_sensitive_files(&mut self) -> Result<()>
pub async fn fuzz_sensitive_files(&mut self) -> Result<()>
Fuzz for exposed sensitive files.
Sourcepub fn evaluate_vulnerability(&mut self)
pub fn evaluate_vulnerability(&mut self)
Evaluate whether the target is vulnerable to CVE-2025-55182.
Sourcepub async fn scan(&mut self) -> Result<ScanResult>
pub async fn scan(&mut self) -> Result<ScanResult>
Execute all scan phases and return the results.
Auto Trait Implementations§
impl Freeze for React2ShellScanner
impl !RefUnwindSafe for React2ShellScanner
impl Send for React2ShellScanner
impl Sync for React2ShellScanner
impl Unpin for React2ShellScanner
impl UnsafeUnpin for React2ShellScanner
impl !UnwindSafe for React2ShellScanner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more