Skip to content
omerbyrbPublic

About

πŸ”΄ Modular penetration testing framework β€” recon, web vuln scanning & reporting from a single CLI

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

RedScope πŸ”΄

β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•β•β•
β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  
β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β• β–ˆβ–ˆβ•”β•β•β•  
β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
β•šβ•β•  β•šβ•β•β•šβ•β•β•β•β•β•β•β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β• β•šβ•β•     β•šβ•β•β•β•β•β•β•

Modular Penetration Testing Framework

CI Docs Python License Security

⚠️ Legal Notice: Only use RedScope on systems you own or have explicit written authorization to test. Unauthorized scanning is illegal.


RedScope is an open-source, modular penetration testing framework that automates reconnaissance, vulnerability scanning, and reporting β€” all from a single CLI.

πŸ“– Full Documentation β†’


Features

  • 24 built-in modules β€” recon, web, and network categories
  • Modular plugin system β€” drop a .py file in /plugins and run it instantly
  • Rich CLI output β€” color-coded findings ranked by severity
  • Multi-threaded β€” fast scanning with configurable thread pools
  • 3 report formats β€” self-contained HTML (dark theme), JSON, Markdown
  • Web dashboard β€” Flask-based UI with real-time scan monitoring
  • Docker ready β€” single image with nmap, dnsutils, netcat included
  • CI/CD β€” GitHub Actions with lint, test matrix, Docker build, security audit

Installation

git clone https://github.com/omerbyrb/redscope
cd redscope
pip install -e .

Docker

docker build -t redscope .
docker run --rm redscope --version

Quick Start

# List all modules
redscope list

# DNS recon
redscope scan example.com --modules dns

# HTTP security headers
redscope scan https://example.com --modules headers

# Full recon sweep
redscope scan example.com --all-recon --save

# Full web assessment with HTML report
redscope scan https://example.com --all-web --report html

# Everything
redscope scan https://example.com --all --save --report html

Modules

Recon

Module Description
dns DNS records, zone transfer, dangling CNAMEs, SPF/DMARC
subdomain Wordlist subdomain enumeration with wildcard detection
portscan TCP port scan with banner grabbing (40+ ports)
takeover Subdomain takeover detection (29 cloud services)
emailsec SPF, DMARC, DKIM (24 selectors), MTA-STS, BIMI
shodan Shodan / InternetDB intelligence β€” open ports, CVEs, tags

Web

Module Description
headers HTTP security header analysis (6 headers + info leakage)
dirbrute Directory/file brute force (100+ paths, multi-threaded)
sqli SQL injection β€” error-based + time-based blind
xss Reflected XSS with CSP audit
cors CORS misconfiguration β€” wildcard, origin reflection, null origin
openredirect Open redirect (28 params, 12 bypass payloads)
ssrf SSRF β€” AWS/GCP/Azure metadata + bypass payloads
jwt JWT analysis β€” weak secrets, alg:none, expiry, sensitive claims
waf WAF fingerprinting (14 WAFs)
lfi Local/Remote File Inclusion (28 LFI + 4 RFI payloads)
cmdi Command injection β€” output-based + time-based (Unix + Windows)
xxe XXE injection (8 payloads, 5 content types)
idor IDOR β€” numeric ID, param injection, path IDOR, sequential

Network

Module Description
ssltls Certificate expiry/validity, weak protocols, weak ciphers, HSTS
banner Service banner grabbing + version detection (25 ports)
cvelookup CVE lookup β€” NVD API + 35-entry local knowledge base
serviceenum Service enum β€” FTP anon, SSH algos, SMTP relay, Redis/Mongo no-auth
osfingerprint OS detection via TTL, banners, HTTP headers (18 OS signatures)

Writing a Plugin

from redscope.core.base_module import BaseModule, Finding, ScanResult

class Module(BaseModule):
    name = "myplugin"
    description = "My custom check"

    def run(self, target: str, **kwargs) -> ScanResult:
        result = ScanResult(module=self.name, target=target)
        result.add_finding(Finding(
            title="Example Finding",
            severity="high",
            description="Something bad was found",
            remediation="How to fix it",
        ))
        return result
redscope plugin plugins/myplugin.py https://target.com

Web Dashboard

redscope dashboard
# Open http://localhost:5000

Docker

# Run scan inside Docker
docker run --rm -v $(pwd)/output:/app/output \
  redscope scan https://example.com --all-web --report html

# Launch dashboard
docker run --rm -p 5000:5000 redscope dashboard --host 0.0.0.0

# docker-compose (dashboard profile)
docker compose --profile dashboard up -d

Development

# Install dev dependencies
pip install -e ".[dev]"

# Run tests
pytest tests/ -v --cov

# Lint
black . && isort . && flake8 .

# Build docs locally
mkdocs serve

License

MIT β€” see LICENSE

About

πŸ”΄ Modular penetration testing framework β€” recon, web vuln scanning & reporting from a single CLI

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages