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.614.tar.gz
(105.7 kB
view details)
Built Distribution
File details
Details for the file cloudcheck-6.0.0.614.tar.gz
.
File metadata
- Download URL: cloudcheck-6.0.0.614.tar.gz
- Upload date:
- Size: 105.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 | d798231e7ff8fdc25d47ea30eaec7cdf46c514c4a3431a65d6c36eb32941f76c |
|
MD5 | 9aa9a65e0967e58395189c1096516889 |
|
BLAKE2b-256 | b4c7285e1d6da1e765f518b593b17d6ebd4bd9ce09ab90ed701761141f22898b |
File details
Details for the file cloudcheck-6.0.0.614-py3-none-any.whl
.
File metadata
- Download URL: cloudcheck-6.0.0.614-py3-none-any.whl
- Upload date:
- Size: 121.5 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 | 33f0d0b44ade1e22db456f388af2873ed94f8f26ec72786cfaa9f9d5f9c519e3 |
|
MD5 | b7b66c2c65d5923fe7683297d6179c72 |
|
BLAKE2b-256 | c02c20253914e896b9f7f5f220a1d5e641f12319b6741c94303e04dff1b2308d |