Check whether an IP address belongs to a cloud provider
Project description
CloudCheck
A simple Python utility to check whether an IP address or hostname belongs to a cloud provider.
cloud_providers.json
contains lists of domains and up-to-date CIDRs for each cloud provider (updated daily via CI/CD).
Used by Bighuge BLS OSINT Tool (BBOT).
Installation
pip install cloudcheck
Usage - CLI
$ cloudcheck 168.62.20.37
168.62.20.37 belongs to Azure (cloud) (168.62.0.0/19)
$ cloudcheck test.evilcorp.azurewebsites.net
test.evilcorp.azurewebsites.net belongs to Azure (cloud) (azurewebsites.net)
Usage - Python
import cloudcheck
provider, provider_type, subnet = cloudcheck.check("168.62.20.37")
print(provider) # "Azure"
print(provider_type) # "cloud"
print(subnet) # IPv4Network('168.62.0.0/19')
Supported cloud providers
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
cloudcheck-5.0.1.441.tar.gz
(107.4 kB
view hashes)
Built Distribution
cloudcheck-5.0.1.441-py3-none-any.whl
(123.3 kB
view hashes)
Close
Hashes for cloudcheck-5.0.1.441-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d367f8fa4a455aa19bc74480df7c7ccb1f4c8f64dba4dc3cfa69df45bf1083a9 |
|
MD5 | b4978a2bdf157eb35f076f92e6aebf30 |
|
BLAKE2b-256 | c726e0de524ab3d2bf0c971c21f801fffccd9e31e755b8e8fe50195759869006 |