subs - Subdomain Analysis¶
The subs subcommand extracts and presents subdomain data from the graph database.
Synopsis¶
Options¶
Target Selection¶
| Flag | Description | Example |
|---|---|---|
-d |
Domain names (comma-separated) | -d example.com |
-df |
File containing domain names | -df domains.txt |
Display Options¶
| Flag | Description |
|---|---|
-names |
Print only discovered names |
-summary |
Print ASN table summary |
-show |
Print results with domain headers |
-ip |
Show IP addresses for names |
-ipv4 |
Show IPv4 addresses only |
-ipv6 |
Show IPv6 addresses only |
-demo |
Censor output for demonstrations |
Output Options¶
| Flag | Description |
|---|---|
-o |
Output to text file |
-dir |
Data directory path |
Examples¶
Basic Subdomain List¶
Output:
With IP Addresses¶
Output:
www.example.com 192.0.2.1
api.example.com 192.0.2.2
mail.example.com 192.0.2.10
cdn.example.com 198.51.100.50
ASN Summary¶
Output:
ASN | Netblock | Organization
-----------|-----------------|------------------
AS64496 | 192.0.2.0/24 | Example Inc
AS64497 | 198.51.100.0/24 | CDN Provider
Names Only¶
Demo Mode (Censored)¶
Output:
Output Modes¶
flowchart LR
DB[(Graph Database)] --> QUERY[Query Subdomains]
QUERY --> NAMES[Names Only<br/>-names]
QUERY --> IPS[With IPs<br/>-ip]
QUERY --> SUMMARY[ASN Summary<br/>-summary]
QUERY --> SHOW[Grouped<br/>-show]