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-6.0.0.655.tar.gz
(107.4 kB
view details)
Built Distribution
File details
Details for the file cloudcheck-6.0.0.655.tar.gz
.
File metadata
- Download URL: cloudcheck-6.0.0.655.tar.gz
- Upload date:
- Size: 107.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08e83bedf9d36b8f00e3a67f03d3742bd86ae0001bdee261cb0d2fc100ed7932 |
|
MD5 | 0f3ee38599cb6610a7669f74f2586b09 |
|
BLAKE2b-256 | d72601bdc070fabdec926eac7887aa1c7acc09cec176becb0a09956410b1ed0a |
File details
Details for the file cloudcheck-6.0.0.655-py3-none-any.whl
.
File metadata
- Download URL: cloudcheck-6.0.0.655-py3-none-any.whl
- Upload date:
- Size: 124.3 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 | 25e1ac233f38d145d9f0c9e98ef1d0911f3111216eeca8267aeb8381d9c9666f |
|
MD5 | f51fbb10bb34c4f25469538584d0c31b |
|
BLAKE2b-256 | 025e89072f9bbc9f956ffae8115ea679af82ef6f75e030f9caad4165bacc8313 |