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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file ip2domains-0.1.2.tar.gz.

File metadata

  • Download URL: ip2domains-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.7 Linux/6.7.4-arch1-1

File hashes

Hashes for ip2domains-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bbcef707db40ceac45b404b238d11d7ee505a3f98fe973d74e54fffa1984be3c
MD5 a7eda5910ea471b1e3418833d703d0ef
BLAKE2b-256 a5a56660fee1854b64e28c41f0b2ef90c39c30ed540c5731d0f9c2b0e6c92ec2

See more details on using hashes here.

File details

Details for the file ip2domains-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ip2domains-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.7 Linux/6.7.4-arch1-1

File hashes

Hashes for ip2domains-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4729f2f8c46933231be9ee05155344d47c8ff8d4e245d41a3b76d3768c51e1ca
MD5 85bbbd8f394e615719fb602d90ce8749
BLAKE2b-256 c745c85852836f8ea42dec51c262a15ccbbc0a9778f34ffb5a13115ad97364bf

See more details on using hashes here.

Supported by

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