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:
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for ip2domains-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4729f2f8c46933231be9ee05155344d47c8ff8d4e245d41a3b76d3768c51e1ca |
|
MD5 | 85bbbd8f394e615719fb602d90ce8749 |
|
BLAKE2b-256 | c745c85852836f8ea42dec51c262a15ccbbc0a9778f34ffb5a13115ad97364bf |