Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/zamdevio/r2s
Vulnerability ScannersPayload GenerationExploitationWeb Application ExploitationInformation GatheringWAF BypassPenetration TestingCommand and Control
GitHubzamdevio/r2s

r2s

Advanced security testing tool for CVE-2025-55182 vulnerability assessment in Next.js applications. Features interactive shell, batch scanning, WAF bypass, and comprehensive reporting.

24411 months agoNot yet reviewed
View RepositoryWebsite
Share

React2Shell (R2S) - CVE-2025-55182 Testing Tool

R2S Banner Python License

Advanced exploitation testing tool for CVE-2025-55182 vulnerability assessment

Features • Installation • Usage • Testing Environment • Legal


📖 What is R2S?

R2S (React2Shell) is a security testing tool designed to help security researchers, developers, and penetration testers assess whether their Next.js applications are vulnerable to CVE-2025-55182.

Understanding CVE-2025-55182

CVE-2025-55182 is a critical vulnerability affecting Next.js Server Actions in certain versions (e.g., 16.0.5). This vulnerability allows attackers to execute arbitrary commands on the server through improperly secured Server Actions, leading to Remote Code Execution (RCE).

R2S helps you check if your application has this problem so you can fix it before bad actors find it.


⚠️ Important Notes

Windows Commands Flag (--windows)

⚠️ CRITICAL WARNING: The --windows flag can cause the tool to FAIL to determine vulnerability if used incorrectly.

  • Default behavior: Tool uses Unix/Linux commands (most Next.js servers run on Linux)
  • When to use --windows: Only if you're 100% certain the target server is Windows
  • What happens if wrong: If you use --windows on a Linux server, commands will fail and the tool may report "not vulnerable" even if the server is vulnerable
  • Best practice: Let the tool auto-detect the platform, or don't use --windows unless you know the target is Windows

Example:

# ❌ WRONG - Using --windows on a Linux server
r2s -u http://linux-server.com -t --windows
# Result: Commands fail, tool may report "not vulnerable" (FALSE NEGATIVE)

# ✅ CORRECT - Let tool use default Unix/Linux commands
r2s -u http://linux-server.com -t
# Result: Proper detection of vulnerability

⚠️ Legal Disclaimer

IMPORTANT: READ THIS BEFORE USING THIS TOOL

  1. This tool is for LEGITIMATE security testing ONLY

    • ✅ Test your own applications
    • ✅ Test applications you have written permission to test
    • ✅ Educational purposes and security research
    • ❌ NEVER use on systems you don't own or have permission to test
    • ❌ NEVER use for malicious purposes
  2. By using this tool, you agree that:

    • You will only use it on systems you own or have explicit written permission to test
    • You understand that unauthorized access to computer systems is illegal
    • You accept full responsibility for your actions
    • The authors are not responsible for any misuse of this tool
  3. Legal Consequences:

    • Unauthorized access to computer systems is a crime in most countries
    • You could face criminal charges, fines, and imprisonment
    • Always get written permission before testing
  4. This tool is provided "AS IS" without warranty of any kind

If you're under 18, make sure you have adult supervision and permission before using this tool.


✨ Features

Core Capabilities

  • 🔍 Vulnerability Detection - Quickly test if a server is vulnerable to CVE-2025-55182
  • 💻 Interactive Shell - Full interactive shell session over HTTPS with command history
  • 📁 File Operations - List directories, read files, and export files/archives
  • 🔐 Secrets Extraction - Attempt to read application secrets (.env files, config files)
  • 📄 Code Extraction - Attempt to read application source code
  • 🖥️ System Information - Gather OS info, hostname, user, and environment variables

Advanced Features

  • 🚀 Auto-Warming Payloads - Automatically optimizes payloads for best results
  • ⚡ Parallel Execution - Run multiple commands simultaneously
  • 🎲 Payload Randomization - Evade detection with dynamic payloads
  • 🛠️ Exploit Modules - Metasploit-style module system (env_dump, file_search, network_scan, process_list)
  • 🔄 Redirect Handling - Automatically follows HTTP redirects (301, 302, 303, 307, 308)
  • 🎨 Beautiful UI - Color-coded output for easy reading
  • 📊 Comprehensive Reporting - Auto-save reports in JSON, HTML, TXT formats with operation-specific formatters
  • ⚙️ Configuration System - JSON-based config with interactive settings panel
  • 📦 Export Functionality - Export single files or entire app directories as zip archives
  • 🔒 WAF Bypass - Multiple bypass techniques (⚠️ Not guaranteed - see limitations below)

Reporting & Logging

  • 📝 Auto-Save Reports - Automatically save reports to ~/.r2s/reports/ with human-readable timestamps
  • 📋 Operation-Specific Formats - Different report formats for different operations (shell, test, secrets, etc.)
  • 📜 Command History - Persistent command history saved to ~/.r2s/history
  • 🔍 Audit Trails - Detailed logging of all operations to ~/.r2s/logs/audit.log
  • 🎨 HTML Reports - Beautiful HTML reports with dark/light mode, copy buttons, and code blocks

📦 Installation

Option 1: Build from Source (Recommended)

  1. Clone the repository:

    git clone https://github.com/zamdevio/r2s.git
    cd r2s
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Build the standalone binary:

    ./build.sh
    
  4. Install to system (optional):

    sudo cp dist/r2s /usr/local/bin/
    sudo chmod +x /usr/local/bin/r2s
    
  5. Clean build artifacts (optional):

    # Remove build/, dist/, __pycache__/, and other build files
    ./build.sh cleanup
    

Option 2: Use Python Script Directly

# Install dependencies
pip install -r requirements.txt

# Run directly
python3 -m react2shell.main --help
# Or after building:
r2s --help

🚀 Quick Start

Basic Vulnerability Test

# Test if a server is vulnerable
r2s -u http://localhost:3000 -t

# With verbose output for more details
r2s -u http://localhost:3000 -t -v

⚠️ Important: Don't use --windows unless you're certain the target is Windows. Using --windows on a Linux server will cause false negatives (tool may report "not vulnerable" even if the server is vulnerable).

Test with Online Demo

We provide a safe testing environment at https://r2s-arena.fly.dev:

# Test the online demo
r2s -u https://r2s-arena.fly.dev -t

Test Locally

See nextjs/README.md for instructions on running the vulnerable app locally.


📚 Usage Examples

Quick Command Reference

Most Common Commands:

  • r2s -u URL -t - Test for vulnerability (most common)
  • r2s -u URL --shell - Start interactive shell
  • r2s --targets FILE -t - Batch scan multiple targets
  • r2s -u URL --system-info - Get system information
  • r2s -u URL --secrets - Attempt to read secrets
  • r2s -u URL --export-archive - Export entire app as zip

⚠️ Remember: Don't use --windows unless target is Windows!


Basic Operations

# Test vulnerability
r2s -u http://localhost:3000 -t

# List directory contents
r2s -u http://localhost:3000 --list-dir /app

# Read files
r2s -u http://localhost:3000 --read-file .env
r2s -u http://localhost:3000 --read-file package.json

# Get system information
r2s -u http://localhost:3000 --system-info

# Execute custom commands
r2s -u http://localhost:3000 --command "whoami"
r2s -u http://localhost:3000 --command "uname -a"

Interactive Shell

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    831
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    534
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    429
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    355
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    284
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    275

Explore all tools

Browse our collection of tools

View all tools →