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.547.tar.gz
(102.9 kB
view details)
Built Distribution
File details
Details for the file cloudcheck-5.0.1.547.tar.gz
.
File metadata
- Download URL: cloudcheck-5.0.1.547.tar.gz
- Upload date:
- Size: 102.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43740b552f0201df1bad1acf3a83fb0c566b695b5c156b9e815c9c83be9ae071 |
|
MD5 | 84708a5d37985cd7758096de54aa87c7 |
|
BLAKE2b-256 | a8b104bafc8c11807a1ebaa921809c46b5daa7212ba459ed6976cc057c73a773 |
File details
Details for the file cloudcheck-5.0.1.547-py3-none-any.whl
.
File metadata
- Download URL: cloudcheck-5.0.1.547-py3-none-any.whl
- Upload date:
- Size: 117.7 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 | 0c183039d3c35611cab1fac5bb6a451a5a520735deb004f3550e2711a14a50c4 |
|
MD5 | 1d25a4ed62d492e499b42da21bf57364 |
|
BLAKE2b-256 | 02bd3b671f2997824103204b2b162182124b93f9b8be6c6148ddad79ddbc783a |