Skip to the content.

Tutorial — recon-pipeline

recon-pipeline chains the other tools into one run: subdomain enumeration → host selection → port scan → web audit → directory brute force → consolidated report. Every run writes a self-contained dark-themed report.html, plus report.md, report.json and the raw tool logs, into reports/<target>-<timestamp>/.

Step 1 — the full pipeline against a domain

$ make build
$ python3 recon-pipeline/recon.py --domain example.com

Phases:

  1. Subdomain enumeration — subdomain-enum runs (crt.sh + DNS brute force) and the results are filtered to live hosts.
  2. Host selection — the first --max-hosts discovered hosts (8 by default) are queued for scanning.
  3. Port scan — port-scanner probes the curated top-100 list on every host and records open ports with service banners.
  4. Web audit — web-audit checks TLS certificates and security headers on the base URL and every discovered host; each URL gets a score and a letter grade.
  5. Directory brute force — dirbrute runs against https://<each-host> (or http://, see --scheme).
  6. Report — everything is consolidated and written to the run directory.

Step 2 — re-scan known hosts

$ python3 recon-pipeline/recon.py --hosts web01,web02 --url https://staging.internal

Passing --hosts skips the subdomain phase entirely — useful when you already have a host list. --url overrides the base URL for the primary scan. The captured examples run does exactly this against a local demo webserver (pipeline 1.3.0):

[*] work directory: reports/http-127.0.0.1-8080-20261116-134542
[*] phase 2/4: port scan on 1 host(s) ...
[*]   1 open port(s) on 127.0.0.1
[*] phase 3/4: web audit on 1 URL(s) ...
[*]   http://127.0.0.1:8080 scored 3/100 (grade F)
[*] phase 4/4: directory brute force on 1 host(s) ...
[*]   13 findings on http://127.0.0.1:8080
[*] report written to reports/http-127.0.0.1-8080-20261116-134542/report.html (+ report.md, report.json) (2.6s total)

Step 3 — tune the run

$ python3 recon-pipeline/recon.py --domain example.com -t 30 --max-hosts 5 \
    --scheme http --phase-timeout 900 --output-dir /tmp/recon

Step 4 — partial runs

$ python3 recon-pipeline/recon.py --domain example.com --skip-dirbrute   # subdomains + port scan + audit
$ python3 recon-pipeline/recon.py --domain example.com --skip-ports      # no TCP scan phase
$ python3 recon-pipeline/recon.py --domain example.com --skip-audit      # no TLS/header audit
$ python3 recon-pipeline/recon.py --domain example.com --no-crtsh        # faster DNS-only enum
$ python3 recon-pipeline/recon.py --domain example.com --dirbrute-wordlist paths.txt

--no-crtsh / --no-brute / --wordlist are forwarded to subdomain-enum; --dirbrute-wordlist overrides the scanner’s wordlist; --skip-ports / --skip-audit / --skip-dirbrute turn whole phases off (the report records that they were skipped).

Step 5 — read the report

Open reports/<target>-<timestamp>/report.html in a browser — it is fully self-contained (no external assets, works offline, dark theme) and shows:

report.json is the machine-readable twin — pipe it into your own tooling or diff it against a previous run.

Every flag

Flag Meaning
--domain target domain, starts the subdomain phase
--hosts comma separated host list, skips the subdomain phase
--url base URL for the primary directory scan
--scheme http or https for discovered hosts (default https)
-t, --threads worker threads for both tools (default 20)
--max-hosts how many discovered hosts get scanned (default 8)
--output-dir report directory (default reports)
--no-crtsh / --no-brute forwarded to subdomain-enum
--wordlist wordlist for the subdomain brute force
--dirbrute-wordlist wordlist override for dirbrute
--skip-dirbrute run the subdomain phase only
--skip-ports skip the port scan phase
--skip-audit skip the web audit phase
--phase-timeout per-phase timeout in seconds (default 600)

Gotchas

See also: README · examples · back to the tutorial index