⬡ Recon Tooling

httpx Recon Workflows

A raw subdomain list is noise until you know which hosts are alive and what they are running. httpx is the tool that bridges that gap — probing thousands of hosts in seconds and enriching each one with status codes, titles, technology fingerprints, and TLS data. This guide covers how to build httpx recon workflows, the flags that matter, and how to chain httpx into a full automated pipeline.

PhantomRed Academy · Recon Series · Updated June 2026

Why Traditional HTTP Probing Workflows Break

After subdomain enumeration, you are left with a flat text file — potentially thousands of hostnames, most of which point nowhere. Manually checking which respond, on which ports, with what technology stack, is impossible at scale. The old approach of curling hosts one by one, or relying on lightweight probers that only return up/down status, breaks down in three predictable ways.

FAILURE 01
No Enrichment
Basic probers confirm a host is alive but tell you nothing about it. You still have to manually open each one to learn its title, stack, or status — defeating the purpose of automation.
FAILURE 02
Single-Port Blindness
Many tools only check port 80 and 443. Admin panels, dev servers, and APIs frequently live on 8080, 8443, or 3000 — and get silently skipped.
FAILURE 03
Throughput Ceilings
Sequential probing of a large subdomain list takes hours. Without concurrency and rate control, recon stalls before vulnerability scanning even begins.

httpx solves all three — it enriches every host in a single pass, probes arbitrary port lists, and runs hundreds of concurrent requests with built-in rate limiting.

How httpx Improves Offensive Security Workflows

httpx is purpose-built for the pipeline model — it reads from stdin, writes structured output, and chains cleanly between enumeration and scanning. That design unlocks several practical advantages.

One-Pass Enrichment

Rather than confirm liveness and then re-probe for details, httpx captures status code, title, technology stack, content length, web server, and TLS data in a single request cycle. The output is immediately actionable.

Surgical Filtering

Flags like -mc (match status code) and -fc (filter status code) let you narrow thousands of hosts to just the interesting ones — for example, surfacing every host returning a 200 or filtering out noisy 404s before they reach Nuclei.

Machine-Readable Output

The -json flag emits one structured record per host, ready to feed directly into vulnerability scanners, risk-scoring engines, or dashboards without any parsing glue.

Why This Matters Every host httpx filters out is a host Nuclei and FFUF do not waste time scanning. On a 2,000-subdomain target where only 300 are live, accurate httpx probing cuts downstream scan time by roughly 85% — and surfaces the technology fingerprints that tell you where to look first.

Example httpx Recon Workflow

This workflow takes a raw subdomain list, probes it with httpx for live hosts and fingerprints, filters to interesting status codes, then feeds the clean list into Nuclei. Each phase pipes into the next.

bash Phase 1 — Basic Live Host Probing
# Input: all-subs.txt from Subfinder + Amass
TARGET="example.com"

# Probe for live hosts with full enrichment
/opt/homebrew/bin/httpx \
  -list recon/$TARGET/all-subs.txt \
  -silent \
  -status-code \
  -title \
  -tech-detect \
  -content-length \
  -web-server \
  -follow-redirects \
  -o recon/$TARGET/live-hosts.txt

# Output: live-hosts.txt — status, title, tech, size per host
bash Phase 2 — Multi-Port Probing
# Probe common non-standard web ports too
/opt/homebrew/bin/httpx \
  -list recon/$TARGET/all-subs.txt \
  -silent \
  -ports 80,443,8080,8443,3000,8000,8888 \
  -status-code \
  -title \
  -threads 100 \
  -rate-limit 150 \
  -o recon/$TARGET/live-allports.txt

# Output: live-allports.txt — catches admin panels & dev servers
bash Phase 3 — Filter to Interesting Hosts
# Keep only live 200/301/302/401/403 — drop the noise
/opt/homebrew/bin/httpx \
  -list recon/$TARGET/all-subs.txt \
  -silent \
  -mc 200,301,302,401,403 \
  -json \
  -o recon/$TARGET/live-filtered.json

# Extract clean URL list for the scanner
cat recon/$TARGET/live-filtered.json \
  | jq -r '.url' \
  > recon/$TARGET/scan-targets.txt

# Output: scan-targets.txt — clean URLs ready for Nuclei
bash Phase 4 — Pipe Straight Into Nuclei
# The classic one-liner: subdomains to findings
cat recon/$TARGET/all-subs.txt \
  | /opt/homebrew/bin/httpx -silent -mc 200 \
  | /opt/homebrew/bin/nuclei \
      -severity medium,high,critical \
      -rate-limit 50 \
      -o recon/$TARGET/findings.txt

# Output: findings.txt — httpx feeds live hosts directly to Nuclei
Operational Note The -mc 200 filter in the final one-liner is aggressive — it drops 401/403 hosts that may still be worth probing for auth bypass. For thorough engagements, run a broader match set first, review manually, then narrow. Only run httpx against targets you are explicitly authorised to test.

httpx Flag Reference

The flags below cover the vast majority of recon use cases. Combine them based on whether you are enriching, filtering, or piping.

Flag Purpose Notes
-status-code Show HTTP status Returns 200, 301, 403, etc. per host — the baseline triage signal
-title Extract page title Page titles instantly reveal admin panels, login pages, and default installs
-tech-detect Fingerprint stack Identifies CMS, frameworks, servers via Wappalyzer signatures
-follow-redirects Trace redirects Resolves the final landing host instead of stopping at a 301
-mc / -fc Match / filter status -mc 200,403 keeps only those codes; -fc 404 drops them
-ports Probe extra ports -ports 8080,8443,3000 catches services off the standard 80/443
-threads / -rate-limit Throughput control Tune concurrency and requests/sec to balance speed against target load
-json Structured output One JSON record per host — pipe into jq, scanners, or dashboards

How PhantomRed Automates httpx Probing

PhantomRed runs httpx automatically as the bridge phase of every scan — the moment subdomain enumeration finishes, the full host list is probed, filtered, and fingerprinted without any manual step. The enriched live-host data then flows straight into vulnerability scanning.

Within the platform pipeline, httpx delivers:

See how httpx sits in the wider pipeline on the autonomous penetration testing page, or generate a full custom chain with the recon workflow generator.

Benefits of httpx-Driven Recon Workflows

Related Recon Resources

Explore connected techniques in the PhantomRed Academy workflow library.

Frequently Asked Questions

Automate Your Entire Recon Pipeline

PhantomRed runs Subfinder, httpx, Nmap, and Nuclei in one coordinated scan — from raw domain to prioritised findings.

Start Free Scan →