βββββββ βββββββββββββββ ββββββββ βββββββ βββββββ βββββββ ββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββ βββ ββββββββββββββ βββ βββββββββββββββββ
ββββββββββββββ βββ ββββββββββββββ βββ ββββββββββ ββββββ
βββ βββββββββββββββββββββββββββββββββββββββββββββββ ββββββββ
βββ ββββββββββββββββββ ββββββββ βββββββ βββββββ βββ ββββββββ
Modular Penetration Testing Framework
β οΈ 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.
- 24 built-in modules β recon, web, and network categories
- Modular plugin system β drop a
.pyfile in/pluginsand 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
git clone https://github.com/omerbyrb/redscope
cd redscope
pip install -e .docker build -t redscope .
docker run --rm redscope --version# 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| 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 |
| 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 |
| 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) |
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 resultredscope plugin plugins/myplugin.py https://target.comredscope dashboard
# Open http://localhost:5000# 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# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/ -v --cov
# Lint
black . && isort . && flake8 .
# Build docs locally
mkdocs serveMIT β see LICENSE