Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
React2Shell-Scanner — Command-line security assessment framework for React and Next.js applications, analyzing React Server Components for misconfigurations, with multi-target scanning, WAF detection, and proxy support. | Kitploit
Tools/GitHubGitHub/wi3memake/react2shell-scanner
Vulnerability ScannersAPI Security TestingWAF BypassWeb SecurityPenetration TestingDevSecOps
GitHubwi3memake/react2shell-scanner

React2Shell-Scanner

Command-line security assessment framework for React and Next.js applications, analyzing React Server Components for misconfigurations, with multi-target scanning, WAF detection, and proxy support.

View Repository
3168 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

🔬 React2Shell Scanner

Python React Next.js License

Web Application Security Assessment Framework for React and Next.js Applications


⚠️ Important Notice

This tool is designed for authorized security testing only.

  • ✅ Authorized penetration testing
  • ✅ Bug bounty programs within scope
  • ✅ Security research with permission
  • ✅ Testing your own applications
  • ❌ Unauthorized access attempts
  • ❌ Testing without explicit permission

Users are solely responsible for ensuring compliance with all applicable laws.


📋 Description

React2Shell Scanner is a command-line security assessment framework designed to help security professionals identify potential vulnerabilities in React and Next.js web applications. It focuses on analyzing React Server Components (RSC) implementations for common security misconfigurations.

Use Cases

  • Penetration Testing - Assess React/Next.js applications during engagements
  • Bug Bounty - Discover reportable security issues
  • Security Audits - Comprehensive security reviews
  • DevSecOps - Integrate into CI/CD security pipelines

✨ Features

FeatureDescription
🎯 Multi-Target ScanningScan single URLs or lists of targets
🔄 Concurrent TestingMulti-threaded for efficient assessment
🛡️ WAF DetectionIdentify and analyze WAF responses
📊 Progress TrackingVisual progress bar with tqdm
🔧 Configurable HeadersCustom header injection
🌐 Proxy SupportRoute through HTTP/HTTPS proxies
📝 Output FormatsJSON and text report generation
🎨 Colorful CLIClear, color-coded terminal output

Security Assessment Capabilities

  • RSC (React Server Components) analysis
  • Server-side rendering evaluation
  • Redirect behavior testing
  • Response header analysis
  • Content-type validation

🚀 Installation

Prerequisites

  • Python 3.8 or higher
  • pip package manager
  • Internet connection

Quick Install

root@kitploit:~
# Clone repository
git clone https://github.com/wi3memake/React2Shell-Scanner.git
cd react2shell-scanner

# Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate  # Linux/Mac
.\venv\Scripts\activate   # Windows

# Install dependencies
pip install -r requirements.txt

Dependencies

root@kitploit:~
requests>=2.28.0    # HTTP client library
tqdm>=4.64.0        # Progress bar visualization
urllib3>=1.26.0     # URL handling

📖 Usage

Basic Scan

root@kitploit:~
# Single target
python react2shell.py.py -u https://example.com

# With verbose output
python react2shell.py.py -u https://example.com -v

Batch Scanning

root@kitploit:~
# Scan from file
python react2shell.py.py -l targets.txt

# With concurrent threads
python react2shell.py.py -l targets.txt -t 10

Advanced Options

root@kitploit:~
# Custom headers
python react2shell.py.py -u https://example.com -H "Authorization: Bearer token"

# Through proxy
python react2shell.py.py -u https://example.com --proxy http://127.0.0.1:8080

# Skip SSL verification
python react2shell.py.py -u https://example.com --no-verify

# Output to file
python react2shell.py.py -u https://example.com -o results.json

Command Line Arguments

ArgumentShortDescriptionDefault
--url-uSingle target URL-
--list-lFile with target URLs-
--threads-tConcurrent threads5
--timeout-Request timeout (seconds)10
--proxy-Proxy URL (http/https)-
--headers-HCustom headers-
--output-oOutput file path-
--no-verify-Skip SSL verificationFalse
--verbose-vVerbose outputFalse
--waf-bypass-WAF bypass modeFalse
--bypass-size-Bypass payload size (KB)128

📊 Output Example

Console Output

root@kitploit:~
React2Shell Web Application Security Assessment Framework

[*] Starting assessment of https://example.com
[*] Analyzing React Server Components...
[*] Testing redirect behavior...
[+] Assessment complete

Target: https://example.com
Status: Analyzed
Response Code: 200
Server: Next.js
React Version: 18.2.0
RSC Detected: Yes
Assessment Time: 1.23s

JSON Output

root@kitploit:~
{
  "target": "https://example.com",
  "timestamp": "2025-01-15T10:30:00Z",
  "results": {
    "status_code": 200,
    "server": "Next.js",
    "rsc_detected": true,
    "headers": {
      "content-type": "text/html",
      "x-powered-by": "Next.js"
    },
    "assessment_time": 1.23
  }
}

🏗️ Project Structure

root@kitploit:~
React2Shell-Scanner/
├── react2shell.py.py      # Main scanner script
├── requirements.txt       # Python dependencies
└── README.md             # Documentation

⚙️ Configuration

Target File Format

Create a text file with one URL per line:

root@kitploit:~
https://target1.com
https://target2.com
https://target3.com/api

Custom Headers

Pass multiple headers with repeated -H flags:

root@kitploit:~
python react2shell.py.py -u https://example.com \
  -H "Authorization: Bearer token123" \
  -H "X-Custom-Header: value" \
  -H "Cookie: session=abc123"

Proxy Configuration

root@kitploit:~
# HTTP Proxy
--proxy http://127.0.0.1:8080

# HTTPS Proxy
--proxy https://proxy.example.com:8443

# Authenticated Proxy
--proxy http://user:[email protected]:8080

🔧 Integration

CI/CD Pipeline

root@kitploit:~
# GitHub Actions example
security-scan:
  runs-on: ubuntu-latest
  steps:
    - uses: actions/checkout@v3
    - name: Setup Python
      uses: actions/setup-python@v4
      with:
        python-version: '3.10'
    - name: Install dependencies
      run: pip install -r requirements.txt
    - name: Run security scan
      run: python react2shell.py.py -u ${{ secrets.TARGET_URL }} -o results.json

Script Integration

root@kitploit:~
import subprocess
import json

# Run scanner
result = subprocess.run(
    ['python', 'react2shell.py.py', '-u', 'https://example.com', '-o', 'results.json'],
    capture_output=True,
    text=True
)

# Parse results
with open('results.json') as f:
    findings = json.load(f)

🛡️ Responsible Use

Before Testing

  1. Get Authorization - Written permission required
  2. Define Scope - Know what's in/out of bounds
  3. Coordinate - Work with the target organization
  4. Document - Keep records of your testing

During Testing

  1. Stay in Scope - Only test authorized targets
  2. Minimize Impact - Use appropriate thread counts
  3. Monitor - Watch for unintended effects
  4. Stop if Needed - Halt testing if issues arise

After Testing

  1. Report Findings - Document everything professionally
  2. Follow Disclosure - Respect disclosure timelines
  3. Clean Up - Remove any test data created

🐛 Troubleshooting

Common Issues

Connection Timeout

root@kitploit:~
# Increase timeout
python react2shell.py.py -u https://example.com --timeout 30

SSL Certificate Errors

root@kitploit:~
# Skip verification (testing only)
python react2shell.py.py -u https://example.com --no-verify

Rate Limiting

root@kitploit:~
# Reduce threads
python react2shell.py.py -l targets.txt -t 2

🤝 Contributing

We welcome contributions that improve:

  • Scanning accuracy
  • Performance optimization
  • Documentation
  • Safety features

Please submit issues and pull requests on GitHub.

📄 License

This project is licensed under the MIT License.

📚 References

  • Next.js Security Best Practices
  • React Security Documentation
  • OWASP Web Security Testing Guide

Security Testing Made Efficient
🔒 Always Test Responsibly 🔒

Download Tool