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
Tools/GitHubGitHub/vijay-shirhatti/rsc-detect-cve-2025-55182
ReconnaissanceVulnerability AnalysisInformation GatheringWeb SecurityLearning & EducationCurated Resources
GitHubvijay-shirhatti/rsc-detect-cve-2025-55182

RSC-Detect-CVE-2025-55182

RSC Detect CVE 2025 55182

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
2198 months agoReviewed by Kitploit

🔎 RSC-Detect - React Server Components Detector

Python React Next.js Minimal

Lightweight detection utility for identifying React Server Components and Next.js applications


🎯 Purpose

RSC-Detect is a simple, focused tool designed to identify websites using React Server Components (RSC) and Next.js framework. It's useful for:

  • Security Researchers - Identify technology stack during assessments
  • Web Developers - Understand what frameworks competitors use
  • DevOps Teams - Audit web properties for technology inventory
  • Bug Bounty Hunters - Quickly fingerprint target applications

⚡ Quick Start

root@kitploit:~
# Clone
git clone https://github.com/vijay-shirhatti/RSC-Detect-CVE-2025-55182.git
cd rsc-detect

# Install
pip install -r requirements.txt

# Run
python main.py

✨ Features

Detection Capabilities

Why Use This?

  • ✅ Lightweight - Minimal dependencies (just requests)
  • ✅ Fast - Single HTTP request per target
  • ✅ Simple - Easy to understand and modify
  • ✅ Accurate - Multiple detection patterns for reliability
  • ✅ Extensible - Add your own patterns easily

📖 Usage

Basic Usage

Edit the targetList in main.py:

root@kitploit:~
if __name__ == "__main__":
    targetList = [
        "https://example.com",
        "https://another-site.com",
    ]

    for urlItem in targetList:
        analyzeTarget(urlItem)

Command Line

root@kitploit:~
python main.py

Output Example

root@kitploit:~
Analyzing target: https://example.com

[Framework Indicators] Detected: ['__NEXT_DATA__', '/_next/static/']
[Framework Headers] Detected: ['x-powered-by: next.js']

Analyzing target: https://another-site.com

No framework indicators detected

🏗️ How It Works

Detection Flow

root@kitploit:~
1. Send HTTP GET request to target URL
2. Parse HTML content and response headers
3. Pattern match against known indicators
4. Report findings

Pattern Categories

React Server Components (RSC)

root@kitploit:~
HTML_RSC_PATTERNS = [
    '__flight__',                    # RSC streaming marker
    'react-server-streaming',        # Server streaming indicator
    '__REACT_SERVER_APP__',          # RSC application flag
]

RSC Content Types

root@kitploit:~
CONTENT_TYPE_RSC_PATTERNS = [
    'text/x-component',              # RSC content type
    'text/vnd.rsc',                  # Vendor RSC type
    'application/x-react-server-component',  # Full RSC MIME
]

Next.js Framework

root@kitploit:~
HTML_NEXTJS_PATTERNS = [
    "__NEXT_DATA__",                 # Next.js data hydration
    "/_next/static/",                # Static asset paths
    "/_next/data/",                  # Data fetching routes
    "next-head",                     # Head component
    "next-font",                     # Font optimization
    "next/script",                   # Script component
]

📁 Project Structure

root@kitploit:~
RSC-Detect-CVE-2025-55182/
├── main.py              # Main detection script
├── requirements.txt     # Python dependencies
└── README.md           # Documentation

⚙️ Configuration

Adding Custom Targets

root@kitploit:~
targetList = [
    "https://site1.com",
    "https://site2.com",
    "https://site3.com/app",
]

Adding Custom Patterns

root@kitploit:~
# Add new RSC patterns
HTML_RSC_PATTERNS.append('your-custom-pattern')

# Add new Next.js patterns
HTML_NEXTJS_PATTERNS.append('custom-next-indicator')

Timeout Configuration

root@kitploit:~
# Modify request timeout (default: 10 seconds)
httpResponse = requests.get(targetUrl, timeout=30)

🔧 Customization Examples

Scan from File

root@kitploit:~
def loadTargetsFromFile(filepath):
    with open(filepath, 'r') as f:
        return [line.strip() for line in f if line.strip()]

if __name__ == "__main__":
    targetList = loadTargetsFromFile('targets.txt')
    for urlItem in targetList:
        analyzeTarget(urlItem)

JSON Output

root@kitploit:~
import json

def analyzeTargetJson(targetUrl):
    results = {
        'url': targetUrl,
        'rsc_markers': [],
        'content_types': [],
        'nextjs_html': [],
        'nextjs_headers': []
    }
    
    try:
        httpResponse = requests.get(targetUrl, timeout=10)
        htmlContentLower = httpResponse.text.lower()
        headersContentLower = str(httpResponse.headers).lower()
        
        results['rsc_markers'] = [p for p in HTML_RSC_PATTERNS if p.lower() in htmlContentLower]
        results['content_types'] = [p for p in CONTENT_TYPE_RSC_PATTERNS if p.lower() in headersContentLower]
        results['nextjs_html'] = [p for p in HTML_NEXTJS_PATTERNS if p.lower() in htmlContentLower]
        results['nextjs_headers'] = [p for p in HEADER_NEXTJS_PATTERNS if p.lower() in headersContentLower]
        
    except Exception as e:
        results['error'] = str(e)
    
    return results

# Usage
results = [analyzeTargetJson(url) for url in targetList]
print(json.dumps(results, indent=2))

Concurrent Scanning

root@kitploit:~
from concurrent.futures import ThreadPoolExecutor

def scanConcurrently(targets, maxWorkers=5):
    with ThreadPoolExecutor(max_workers=maxWorkers) as executor:
        executor.map(analyzeTarget, targets)

📊 Detection Accuracy

🐛 Troubleshooting

Connection Errors

root@kitploit:~
# Add retry logic
from requests.adapters import HTTPAdapter
from urllib3.util.retry import Retry

session = requests.Session()
retries = Retry(total=3, backoff_factor=0.5)
session.mount('https://', HTTPAdapter(max_retries=retries))

SSL Errors

root@kitploit:~
# Disable SSL verification (not recommended for production)
httpResponse = requests.get(targetUrl, timeout=10, verify=False)

Encoding Issues

root@kitploit:~
# Handle different encodings
httpResponse.encoding = httpResponse.apparent_encoding

🔒 Responsible Use

This tool is intended for:

  • Security research with proper authorization
  • Technology stack analysis for legitimate purposes
  • Educational purposes

Always ensure you have permission before scanning targets you don't own.

📦 Requirements

root@kitploit:~
requests>=2.28.0
urllib3>=1.26.0

🤝 Contributing

Contributions are welcome! You can help by:

  • Adding new detection patterns
  • Improving accuracy
  • Adding output formats
  • Fixing bugs

📄 License

MIT License - Free for personal and commercial use.

📚 Related Resources

  • React Server Components RFC
  • Next.js Documentation
  • Vercel App Router

Simple • Fast • Effective

⭐ Star if you find this useful!

Download Tool
CategoryPatterns Detected
🔵 RSC Markers__flight__, react-server-streaming, __REACT_SERVER_APP__
📄 Content-Typetext/x-component, text/vnd.rsc, application/x-react-server-component
⚡ Next.js HTML__NEXT_DATA__, /_next/static/, next-font, next/script
📋 Headersx-powered-by: next.js
FrameworkDetection RateNotes
Next.js 13+HighMultiple indicators present
Next.js 12High__NEXT_DATA__ reliable
React RSCMediumDepends on implementation
Custom ReactLowRequires custom patterns