Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
RSC-Detect-CVE-2025-55182 — RSC 탐지 CVE 2025 55182 | Kitploit
도구/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 탐지 CVE 2025 55182

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
저장소 보기
2198개월 전Kitploit 검토 완료

🔎 RSC-Detect - React Server Components 탐지기

Python React Next.js Minimal

React Server Components 및 Next.js 애플리케이션 식별을 위한 경량 탐지 유틸리티


🎯 목적

RSC-Detect는 React Server Components(RSC) 및 Next.js 프레임워크를 사용하는 웹사이트를 식별하도록 설계된 간단하고 특화된 도구입니다. 다음과 같은 경우에 유용합니다:

  • 보안 연구원 - 평가 중 기술 스택 식별
  • 웹 개발자 - 경쟁사가 사용하는 프레임워크 파악
  • DevOps 팀 - 기술 인벤토리를 위한 웹 자산 감사
  • 버그 바운티 헌터 - 대상 애플리케이션 빠른 핑거프린팅

⚡ 빠른 시작

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

✨ 기능

탐지 기능

왜 사용해야 하나요?

  • ✅ 경량 - 최소한의 의존성(requests만)
  • ✅ 빠름 - 대상당 단일 HTTP 요청
  • ✅ 간단함 - 이해하고 수정하기 쉬움
  • ✅ 정확함 - 신뢰성을 위한 다중 감지 패턴
  • ✅ 확장 가능 - 자신만의 패턴을 쉽게 추가 가능

📖 사용법

기본 사용법

main.py에서 targetList를 수정하세요:

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

    for urlItem in targetList:
        analyzeTarget(urlItem)

명령줄

root@kitploit:~
python main.py

출력 예시

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

🏗️ 작동 방식

탐지 흐름

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

패턴 카테고리

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 콘텐츠 유형

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 프레임워크

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
]

📁 프로젝트 구조

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

⚙️ 구성

사용자 정의 대상 추가

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

사용자 정의 패턴 추가

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')

타임아웃 구성

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

🔧 사용자 정의 예시

파일에서 스캔

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 출력

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))

동시 스캔

root@kitploit:~
from concurrent.futures import ThreadPoolExecutor

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

📊 탐지 정확도

🐛 문제 해결

연결 오류

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 오류

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

인코딩 문제

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

🔒 책임 있는 사용

이 도구는 다음 용도로 사용됩니다:

  • 적절한 권한을 갖춘 보안 연구
  • 합법적인 목적의 기술 스택 분석
  • 교육 목적

소유하지 않은 대상을 스캔하기 전에 항상 권한이 있는지 확인하세요.

📦 요구 사항

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

🤝 기여

기여를 환영합니다! 다음과 같은 방법으로 도울 수 있습니다:

  • 새 감지 패턴 추가
  • 정확도 개선
  • 출력 형식 추가
  • 버그 수정

📄 라이선스

MIT 라이선스 - 개인 및 상업적 용도로 무료.

📚 관련 자료

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

간단함 • 빠름 • 효과적

⭐ 유용하다면 Star를 눌러주세요!

도구 다운로드
카테고리감지 패턴
🔵 RSC 마커__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
📋 헤더x-powered-by: next.js
프레임워크탐지율비고
Next.js 13+높음복수의 지표 존재
Next.js 12높음__NEXT_DATA__ 신뢰 가능
React RSC중간구현 방식에 따라 다름
Custom React낮음사용자 정의 패턴 필요