Skip to main content

Scans IP addresses and finds domains

Project description

ip2domains

Scans IP addresses and finds domains. Domain names are extracted from SSL certificates. This method does not guarantee 100% finding of all domains. You can also use the method of obtaining a domain name through a reverse DNS lookup, but 99% of domains do not contain a PTR record.

The reason for developing this tool was that many Internet services provide unreliable results:

image

Installation:

pip install ip2domains

Usage:

# help
$ ip2domains -h

# Scan domains
# KLM is sucks. Don't use these f*gots. Give me back my money, assholes!
$ echo 171.21.120.0/22 | ip2domains --no-banner

# List unique domains
$ echo 171.21.120.0/22 | ip2domains --no-banner | jq -r '.domains[]' | sort | uniq

# Remember that not all domains listed in the certificate actually use this IP
$ dig +short af-klm.com
171.21.122.81

$ dig +short bluebiz.com
52.166.78.97

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ip2domains-0.1.2.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

ip2domains-0.1.2-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page