How cybercrafting-partners/domain-inventory works
Domain Inventory is a Python CLI for passive domain reconnaissance: users supply domains, it gathers public registration and subdomain data, resolves names and enriches results, then writes historical and consolidated inventory outputs. Optional branches add SE Ranking and Subfinder discovery, VirusTotal reputation, and bounded Nmap scanning. A separate report generator turns existing outputs into HTML. Workflow links follow explicit README statements and sampled imports/calls; detailed internal orchestration and some unsampled features are represented only where documentation supports them.
Main entry points: domain_inventory.py Inventory CLI · domain_inventory_en.py English CLI · seranking_integration.py SE Ranking · subfinder_integration.py Subfinder
Components 19
Collection
- Inventory CLI
domain_inventory.py - English CLI
domain_inventory_en.py - Domain RDAP
domain_inventory.py - CT discovery
domain_inventory.py - SE Ranking
seranking_integration.py - Subfinder
subfinder_integration.py - DNS resolution
domain_inventory.py
Enrichment
- IP attribution
domain_inventory.py - IP quota guard
ipwhois_quota.py - TCP scanning
domain_inventory.py - VirusTotal
virustotal_enrichment.py
Inventory outputs
- Inventory CSVs
domain_inventory.py - Historical merge
output_merge.py - Global inventory
global_output.py
Reporting
- HTML report
generate_report.py
Other components
- Operator
- Public data services
- Subfinder executable
- Nmap executable
Connections 32
- Operator → Inventory CLI: provides domains
README.md - Operator → English CLI: provides domains
README.md - Inventory CLI → Domain RDAP: collects RDAP
domain_inventory.py - Inventory CLI → CT discovery: discovers names
domain_inventory.py - Inventory CLI → SE Ranking: requests discovery
domain_inventory.py - English CLI → SE Ranking: requests discovery
domain_inventory_en.py - Inventory CLI → Subfinder: requests discovery
domain_inventory.py - English CLI → Subfinder: requests discovery
domain_inventory_en.py - Inventory CLI → DNS resolution: resolves names
README.md - Inventory CLI → IP attribution: attributes IPs
README.md - English CLI → IP attribution: attributes IPs
README.md - Inventory CLI → TCP scanning: optionally scans
README.md - English CLI → TCP scanning: optionally scans
README.md - IP attribution → IP quota guard: reserves attempts
domain_inventory.py - Domain RDAP → Public data services: queries RDAP
README.md - CT discovery → Public data services: queries crt.sh
README.md - DNS resolution → Public data services: queries DNS
README.md - IP attribution → Public data services: queries attribution
README.md - SE Ranking → Public data services: queries API
README.md - Subfinder → Subfinder executable: runs executable
subfinder_integration.py - TCP scanning → Nmap executable: runs executable
README.md - Inventory CLI → VirusTotal: uses enrichment
domain_inventory.py - English CLI → VirusTotal: uses enrichment
domain_inventory_en.py - Inventory CLI → Inventory CSVs: writes datasets
README.md - English CLI → Inventory CSVs: writes datasets
README.md - Inventory CLI → Historical merge: merges history
README.md - English CLI → Historical merge: merges history
README.md - Inventory CLI → Global inventory: builds inventory
README.md - English CLI → Global inventory: builds inventory
README.md - Global inventory → Inventory CSVs: writes CSV
global_output.py - Operator → HTML report: generates report
generate_report.py - Inventory CSVs → HTML report: reads datasets
generate_report.py