Skip to main content

Fast CLI for directory discovery, subdomain enumeration, and web asset reconnaissance

Project description

OpenDoor — OWASP Web Directory Scanner

OpenDoor

OpenDoor is an open-source CLI scanner for authorized web reconnaissance, directory discovery, subdomain enumeration, fingerprint detection, WAF detection, controlled header-bypass probing, response filtering, reporting, and transport-based scanning workflows.

It helps security researchers, penetration testers, bug bounty hunters, DevSecOps engineers, and developers identify exposed paths, login panels, directory listings, restricted resources, backup files, web shells, subdomains, and other potentially sensitive web assets.

Use OpenDoor only on systems you own or have explicit permission to test.


✅ CI status

Python Linux macOS Windows
3.12 CI Linux Python 3.12 CI macOS Python 3.12 CI Windows Python 3.12
3.13 CI Linux Python 3.13 CI macOS Python 3.13 CI Windows Python 3.13
3.14 CI Linux Python 3.14 CI macOS Python 3.14 CI Windows Python 3.14

Documentation Status PyPI - Version Docker Image Python 3.12+ codecov Codacy Security Scan Dependency Review CodeQL License: GPL v3


🚀 Quick links


✨ Features

  • directory discovery;
  • recursive directory discovery;
  • subdomain enumeration;
  • multi-threading scans;
  • single target, target file, and stdin input modes;
  • custom wordlists, prefixes, and extension filters;
  • custom request headers, cookies, and raw HTTP request templates;
  • response filters by status, size, text, regex, and body length;
  • smart auto-calibration for soft-404, wildcard, and catch-all responses;
  • technology fingerprint detection CMS, ecommerce platforms, frameworks;
  • passive WAF detection and WAF-safe scan mode;
  • controlled Header Injection Bypass probes for blocked 401 and 403 paths;
  • resumable scan sessions with checkpoint autosave;
  • CI/CD fail-on result bucket rules;
  • official Docker image distribution via GitHub Container Registry;
  • reports in terminal, text, JSON, CSV, HTML, and SQLite formats;
  • proxy, OpenVPN, and WireGuard transport profiles;
  • sequential per-target transport rotation for batch workflows;
  • configuration wizard for repeatable scan profiles.

🧭 Where does OpenDoor make sense?

It is designed for real targets where speed alone is not enough: WAFs, CDNs, soft-404 pages, wildcard routes, restricted resources, authenticated areas, unstable networks, multi-target batches, and transport-controlled scans. OpenDoor focuses on context-aware discovery instead of blind enumeration.

What makes OpenDoor different

Capability Why it matters
Fingerprint-first scanning OpenDoor can identify probable CMS platforms, frameworks, infrastructure providers, and WAF signals before deeper discovery. This helps you scan with context instead of blindly throwing a generic wordlist at the target.
WAF-aware behavior OpenDoor can detect probable WAF / anti-bot behavior and switch to a safer runtime profile with --waf-safe-mode, reducing noisy blocked scans and making defensive responses easier to understand.
Controlled header-bypass evidence OpenDoor can optionally probe blocked 401 and 403 paths with controlled per-request header-injection variants. It records exact evidence such as the header name, value, original status code, and resulting status code without mutating global scan headers.
Multi-signal auto-calibration OpenDoor does not rely only on status code or response size. It compares multiple response signals such as body hashes, HTML structure, titles, redirects, stable headers, word count, line count, and normalized dynamic tokens to reduce soft-404 and wildcard false positives.
Transport-level workflows OpenDoor supports direct, proxy, OpenVPN, and WireGuard transport modes. It can also rotate transport profiles per target in authorized batch scans, which is not the same as manually starting a VPN before running a scanner.
Resumable long scans OpenDoor can save scan checkpoints and resume later. This matters when scans are interrupted by crashes, unstable networks, blocked routes, terminal disconnects, or long multi-target jobs.
CI/CD-ready results OpenDoor can return a failing exit code only when selected result buckets are found, making it usable as a release gate or exposure regression check without custom post-processing scripts.
Auditable engineering OpenDoor is maintained with multi-platform CI, coverage checks, package checks, documentation builds, and a large unittest suite, making it easier to audit, contribute to, and depend on.

🧬 Recognized technologies

OpenDoor includes a heuristic fingerprint engine for detecting probable application stacks, CMS platforms, frameworks, site builders, static-site tooling, infrastructure providers, and WAF / anti-bot systems.

Category Examples
CMS WordPress, Drupal, Joomla, TYPO3, Open Journal Systems, Moodle, Nextcloud, ownCloud, phpMyAdmin
E-commerce Magento, WooCommerce, Shopify, PrestaShop, OpenCart, Shopware
Frameworks / app platforms Laravel, Symfony, Django, Flask, FastAPI, Express, NestJS, Next.js, Nuxt, Rails, Spring
Site builders Wix, Webflow, Squarespace, Tilda
Static / docs generators MkDocs, Docusaurus, Hugo, Jekyll, VitePress
Infrastructure / hosting Cloudflare, AWS, Vercel, Netlify, GitHub Pages, GitLab Pages, Heroku, Azure, Google Cloud, Fastly, Akamai
WAF / anti-bot Cloudflare, AWS WAF, Azure Front Door, Akamai, Imperva, Sucuri, ModSecurity, DataDome, Kasada, F5 BIG-IP ASM

Full list of supported technologies: Fingerprinting technologies

Run fingerprint detection:

opendoor --host https://example.com --fingerprint

Read more:

📦 Installation

pipx

Recommended for most CLI users:

pipx install opendoor

pip

python3 -m pip install --upgrade opendoor

Arch Linux / AUR

OpenDoor is available in the Arch User Repository:

yay -S opendoor

Homebrew

When the Homebrew formula is available:

brew install opendoor

Docker

OpenDoor is available as an official project Docker image via GitHub Container Registry.

docker pull ghcr.io/stanislav-web/opendoor:latest
docker run --rm ghcr.io/stanislav-web/opendoor:latest --version

Run a scan and write reports to the host:

mkdir -p reports

docker run --rm \
  -v "$PWD/reports:/work/reports" \
  ghcr.io/stanislav-web/opendoor:latest \
  --host https://example.com \
  --reports json,html \
  --reports-dir reports

BlackArch Linux

OpenDoor is available in BlackArch Linux:

sudo pacman -Syu
sudo pacman -S opendoor

From source

git clone https://github.com/stanislav-web/OpenDoor.git
cd OpenDoor

python3 -m pip install -r requirements.txt
python3 opendoor.py --help

See the full installation guide.


🚀 Quick usage

Basic directory scan

opendoor --host https://example.com

Subdomain scan

opendoor --host example.com --scan subdomains

Target list

opendoor --hostlist targets.txt

Standard input

cat targets.txt | opendoor --stdin

Low-noise scan

opendoor \
  --host https://example.com \
  --method GET \
  --auto-calibrate \
  --include-status 200-299,301,302,403 \
  --exclude-status 404,429,500-599 \
  --exclude-size-range 0-256 \
  --sniff skipempty,collation,indexof,file \
  --reports std,json,csv

Authenticated scan from raw request

opendoor \
  --raw-request request.txt \
  --scheme https \
  --method GET \
  --auto-calibrate \
  --reports json,html,sqlite

WAF-safe scan

opendoor \
  --host https://example.com \
  --waf-safe-mode \
  --timeout 60 \
  --retries 5 \
  --delay 0.5

Header Injection Bypass probes

Use this only on systems you are authorized to test. The feature is opt-in and probes blocked paths with temporary per-request headers.

opendoor \
  --host https://example.com \
  --method GET \
  --waf-detect \
  --header-bypass \
  --header-bypass-limit 32 \
  --reports std,json,csv,sqlite

Customize trigger statuses, trusted IP values, and headers:

opendoor \
  --host https://example.com \
  --method GET \
  --header-bypass \
  --header-bypass-status 401,403 \
  --header-bypass-ips 127.0.0.1,10.0.0.1 \
  --header-bypass-headers X-Original-URL,X-Rewrite-URL,X-Forwarded-For,X-Real-IP \
  --reports json,html,sqlite

Proxy routing

Use a single explicit proxy:

opendoor --host https://example.com --proxy socks5://127.0.0.1:9050

Use the bundled rotating proxy pool:

opendoor --host https://example.com --proxy-pool

Use a custom rotating proxy list:

opendoor --host https://example.com --proxy-list proxies.txt

OpenVPN transport

opendoor \
  --host https://example.com \
  --transport openvpn \
  --transport-profile ./profile.ovpn

WireGuard transport

opendoor \
  --host https://example.com \
  --transport wireguard \
  --transport-profile ./profile.conf

More examples:


📚 Documentation

The full documentation is available on ReadTheDocs:


🧪 Development

Install development dependencies:

python3 -m venv .venv
source .venv/bin/activate

python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements-dev.txt
python -m pip install -e .

Run tests:

python -m unittest

Run coverage:

coverage run -m unittest discover -s tests -p "test_*.py"
coverage report -m

Build documentation:

python3 -m venv .docs-venv
source .docs-venv/bin/activate
python -m pip install -r docs/requirements.txt
python -m mkdocs build --strict

Build package artifacts:

python -m build

See the full testing guide and contribution guide.


🔐 Security and secret hygiene

Do not commit real secrets or private transport profiles.

Never publish:

  • real OpenVPN profiles;
  • WireGuard private keys;
  • auth-user-pass files;
  • cookies;
  • bearer tokens;
  • customer target lists;
  • private scan reports;
  • sensitive CI artifacts.

Use placeholder examples only.


⚖️ Responsible use

OpenDoor is a security testing tool.

Use it only against systems you own or have explicit permission to test.

Features such as WAF detection, WAF-safe scanning, raw request replay, transport profiles, and Header Injection Bypass probes are intended for authorized security testing, defensive validation, and exposure regression checks.

The project does not grant permission to scan third-party systems, organizations, commercial services, or public infrastructure without authorization.


🧾 Changelog

See CHANGELOG.md and GitHub Releases.


🤝 Contributing

Pull requests are welcome.

Before contributing, read the contribution guide and run the relevant tests.


📄 License

OpenDoor is released under the GNU General Public License v3.0 only.

See LICENSE.


Ask DeepWiki

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opendoor-5.14.0.tar.gz (12.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opendoor-5.14.0-py3-none-any.whl (12.7 MB view details)

Uploaded Python 3

File details

Details for the file opendoor-5.14.0.tar.gz.

File metadata

  • Download URL: opendoor-5.14.0.tar.gz
  • Upload date:
  • Size: 12.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opendoor-5.14.0.tar.gz
Algorithm Hash digest
SHA256 bbb455e0b476ee378e3360bb7e4ca8ccaeba2d3f4683b110c8bc9c2090c75d3d
MD5 f4b2e61758af371e8a0ab04333330826
BLAKE2b-256 49682e854573375f4fed8e6ad5fbba83d3e8f0eec2a0d6f234b0c12d3b961ca2

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendoor-5.14.0.tar.gz:

Publisher: publish-pypi.yml on stanislav-web/OpenDoor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendoor-5.14.0-py3-none-any.whl.

File metadata

  • Download URL: opendoor-5.14.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opendoor-5.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16b3bdd3562b6e938a6ec66c64e327c2914ea1530e61fb4a718c8084de9469de
MD5 55a2fbee5041ec8ed8d3ea96a9637e97
BLAKE2b-256 95d6fa1d8bb3a9e2ebb7318190b7f2bd707f8dd49142d444f85b43d07f370248

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendoor-5.14.0-py3-none-any.whl:

Publisher: publish-pypi.yml on stanislav-web/OpenDoor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page