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.515.tar.gz
(103.0 kB
view details)
Built Distribution
File details
Details for the file cloudcheck-5.0.1.515.tar.gz
.
File metadata
- Download URL: cloudcheck-5.0.1.515.tar.gz
- Upload date:
- Size: 103.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64c7c22567a3ae14731b4826c631585a9714858cc9dd70fafbfa40b5cef37049 |
|
MD5 | 3378f44681f4211729f467777d599e2c |
|
BLAKE2b-256 | 9988fc8235bc6e50fd2152161f7835c5ddeb7ebf0597cdb1da1d93317a89ea94 |
File details
Details for the file cloudcheck-5.0.1.515-py3-none-any.whl
.
File metadata
- Download URL: cloudcheck-5.0.1.515-py3-none-any.whl
- Upload date:
- Size: 117.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 427ee423b9abca9f742f21300c3968dde8784cbfdd99ba69b336a0a6723fe677 |
|
MD5 | 66b010b95303117d2f039939b118b5c4 |
|
BLAKE2b-256 | 460da5d305aa76c0c7cdac94e6f16d8c7b41eeb6f927100e8dd0fc91481d2dc1 |