Sublist3r Executor¶
Category: Network Reconnaissance
Script: sublist3r.sh (Shell script)
Integration: CLI (bash)
Faraday Plugin: Raw JSON (no plugin — generates Faraday JSON via jq)
Description¶
Runs Sublist3r to enumerate subdomains of a target domain, resolves each discovered subdomain to its IP address using getent hosts, and outputs Faraday JSON with the discovered hosts.
This is the only shell-script executor in the official collection.
Prerequisites¶
- Sublist3r installed (
sublist3r.pyavailable in$PATHor/usr/bin) jqinstalled for JSON constructiongetentavailable (standard on Linux)
Configuration¶
Environment Variables (Setup)¶
(none required)
Execution Arguments¶
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
DOMAIN |
string | Yes | Target domain for subdomain enumeration (e.g., example.com) |
YAML Configuration Example¶
executors:
subdomain_enum:
repo_executor: sublist3r.sh
max_size: 65536
varenvs: {}
params:
DOMAIN:
mandatory: true
type: string
base: string
How It Works¶
- Runs
sublist3r.py -d <domain> -o <output_file> - Reads each discovered subdomain from the output file
- For each subdomain, runs
getent hosts <subdomain>to resolve the IP address - Uses
jqto construct Faraday JSON with host entries (IP + hostname) - Outputs the combined JSON
Notes¶
- Sublist3r uses passive sources (search engines, DNS databases) — no active scanning of targets
getent hostsmay fail for subdomains that don't resolve; these are skipped- The
jqdependency is essential for JSON output construction