Skip to content

Sharp404/DomainAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domain Analyzer

A simple CLI tool to extract and aggregate domains, subdomains, and public IP addresses from URLs.

Features

  • Extracts domain and subdomain from a list of URLs
  • Resolves public IP addresses associated with the domains
  • Supports input via command line or from a file
  • Aggregates results by domain with all associated subdomains and IPs
  • Outputs results in a formatted terminal table or JSON file

Usage

Run the CLI tool with URLs or a file of URLs :

# Process single or multiple URLs
python3 main.py -u https://example.com/path https://sub.example.com

# Process URLs from a file (one URL per line)
python3 main.py -f urls.txt

# Save output to JSON file
python3 main.py -u https://example.com -o results.json

Exemple Output

python3 main.py -u https://www.google.com/search? https://www.microsoft.com https://en.wikipedia.org/wiki/Main_Page http://placeh
older.com http://ftp.example.com sub.example.com https://dummy-website.com

cli_output

About

A simple CLI tool to extract and aggregate domains, subdomains and public IP addresses from URLs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages