Skip to main content

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

Metadata

Release files for ip2domains 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ip2domains 0.1.2
File Size Uploaded
ip2domains-0.1.2.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ip2domains 0.1.2
File Interpreter ABI Platform
ip2domains-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / ip2domains-0.1.2.tar.gz

Download URL ip2domains-0.1.2.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bbcef707db40ceac45b404b238d11d7ee505a3f98fe973d74e54fffa1984be3c
BLAKE2b-256 checksum
How to use checksums
a5a56660fee1854b64e28c41f0b2ef90c39c30ed540c5731d0f9c2b0e6c92ec2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.7 Linux/6.7.4-arch1-1

Release files / ip2domains-0.1.2-py3-none-any.whl

Download URL ip2domains-0.1.2-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4729f2f8c46933231be9ee05155344d47c8ff8d4e245d41a3b76d3768c51e1ca
BLAKE2b-256 checksum
How to use checksums
c745c85852836f8ea42dec51c262a15ccbbc0a9778f34ffb5a13115ad97364bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.7 Linux/6.7.4-arch1-1

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page