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
React2Shell — React2Shell - CVE-2025-66478 RCE Exploit | Kitploit
Tools/GitHubGitHub/khadafigans/react2shell
Exploit FrameworksWeb Application ExploitationPenetration TestingCommand and ControlRemote Access ToolPayload Development
GitHubkhadafigans/react2shell

React2Shell

React2Shell - CVE-2025-66478 RCE Exploit

View Repository
6389 months agoNot yet reviewed
Share

🔐 React2Shell - Next.js RSC Pollution RCE Toolkit

This Python toolkit exploits Next.js React Server Components (RSC) prototype pollution + React.lazy(-1) gadget chain for full RCE access, including interactive god shell, file upload (PHP webshell dropper), and exfiltration via ?out=.

Image Preview

Pwned Terminal

🧾 main.py

📌 Purpose

Automated detection & exploitation of vulnerable Next.js apps (e.g., target.com). Drops uid=33(www-data) shell with:

  • RCE via child_process.execSync → /exploit?out=UID
  • God Shell: Interactive cmds, file read (read /etc/passwd), uploads
  • Bypass: Junk KB padding, Unicode, Vercel/WAF tweaks
  • Stealth: Base64 encode, multipart RSC POST

🛠 How It Works

  1. Detect: POST {\"0\":null} → 500 E{\"digest confirms RSC handler.
  2. Combos: Test pollution+lazy payloads (junk=0/KB, uni, vercel) → Location: /exploit?out=id_output
  3. Exploit: execSync(cmd) → exfil stdout/stderr via redirect.
  4. Shell: Loop cmds, upload_txt local.txt remote.php → write+rename bypass.
  5. WAF: X-FF=127.0.0.1, Origin/Referer evade BitNinja/nginx.

📥 Usage

  1. pip3 install aiohttp
  2. python3 main.py
  3. Enter target(s): http://target.com or targets.txt
  4. Mode: 1=Detect 2=PoC(id) 3=Custom 4=God Shell [4]

Piped: echo \"http://target\n4\" | python3 main.py

God Shell Commands:

upload <local.php> <remote/shell.php>    # Direct PHP upload
upload_txt <local> <remote/shell.php>    # TXT→rename bypass
upload_bin <local> <remote>              # Binaries (chmod later)
help / exit
id / cat /etc/passwd / ls -la /var/www/

📁 Output

  • Vulnerable: React2Shell_Owned/pwned_YYYYMMDD_HHMMSS.txt
  • Screenshots: Banner → [VULNERABLE] → uid=33(www-data)

📦 Dependencies

aiohttp

pip install aiohttp

⚠️ Legal Disclaimer

For authorized penetration testing & educational purposes only (user confirmed permission under ToS). Unauthorized use illegal/unethical.

👨‍💻 Author

Bob Marley

Buy me a Coffee:

₿ BTC: 17sbbeTzDMP4aMELVbLW78Rcsj4CDRBiZh

©2025 khadafigans

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.

    790
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    508
  • 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.

    435
  • 4

    redforge

    cybersecurity91/redforge

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

    346
  • 5

    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.

    263
  • 6

    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.

    260

Explore all tools

Browse our collection of tools

View all tools →