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.661.tar.gz
(107.7 kB
view details)
Built Distribution
File details
Details for the file cloudcheck-6.0.0.661.tar.gz
.
File metadata
- Download URL: cloudcheck-6.0.0.661.tar.gz
- Upload date:
- Size: 107.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 | 98a7b88f4784fad91faa3d6ea5749c7fe215462dbad63c34df1afc671f915795 |
|
MD5 | f88a559b390d9f24305add3541c5ea2b |
|
BLAKE2b-256 | 6c9ccd55105bdcc704b30d8269ce266d9605efdd9139f2422abcba3e49be3bc5 |
File details
Details for the file cloudcheck-6.0.0.661-py3-none-any.whl
.
File metadata
- Download URL: cloudcheck-6.0.0.661-py3-none-any.whl
- Upload date:
- Size: 124.9 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 | b8c45061d76eea14aa493e9dfd087e1aefccb1632c3bb8d49c77d273f721188c |
|
MD5 | 93db3aeff02d2ac49fc56940bf247894 |
|
BLAKE2b-256 | 604189caa7a774336517707d62bfca7aa674080440d749e40f274861ad1b38ee |