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 weekly 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-2.2.0.203.tar.gz
(69.4 kB
view hashes)
Built Distribution
Close
Hashes for cloudcheck-2.2.0.203-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f17944c6183c7ad96b031c4cc3efb1c1addaa23c2d17f3c81ff54c4cd494716 |
|
MD5 | 557b5b8814ac22b8ce55e2e4b719ea4e |
|
BLAKE2b-256 | 69adfeb8e9d7a2bac55c45018cd516b401ee662ab07b43355023a7da44f723d6 |