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.595.tar.gz
(103.7 kB
view details)
Built Distribution
File details
Details for the file cloudcheck-5.0.1.595.tar.gz
.
File metadata
- Download URL: cloudcheck-5.0.1.595.tar.gz
- Upload date:
- Size: 103.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38456074332ed2ba928e7073e3928a5223a6005a64124b4b342d8b9599ca10e0 |
|
MD5 | 92e4dd8c3b7a895e0e65683b1249fea9 |
|
BLAKE2b-256 | dd64c177698c8e3ebae3a76c3a08f270ca0875f4ebeb3f14b8ebd26e3b235b5c |
File details
Details for the file cloudcheck-5.0.1.595-py3-none-any.whl
.
File metadata
- Download URL: cloudcheck-5.0.1.595-py3-none-any.whl
- Upload date:
- Size: 118.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68acec63b09400fa0409ae7f3ffa817cbc891bf8a2ac63f9610a3b049a4bf57d |
|
MD5 | f815f6227a601e6c2e628354af8a4768 |
|
BLAKE2b-256 | 3aba239bfd841a98c9fa02f338871126fc4cd9a8c913c3b980afd12f1095d04b |