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.611.tar.gz
(104.2 kB
view details)
Built Distribution
File details
Details for the file cloudcheck-6.0.0.611.tar.gz
.
File metadata
- Download URL: cloudcheck-6.0.0.611.tar.gz
- Upload date:
- Size: 104.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d4ae169d8aebf479f3ffd677db1be403c46d16202be6d25819fe1a25a0ce50 |
|
MD5 | bee48942002dfbd91e3b15348aaf994d |
|
BLAKE2b-256 | 63d0fc699fa77ae09317ab12e34bb6ffd4f62257183e8323f1d8b549008669a3 |
File details
Details for the file cloudcheck-6.0.0.611-py3-none-any.whl
.
File metadata
- Download URL: cloudcheck-6.0.0.611-py3-none-any.whl
- Upload date:
- Size: 119.6 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 | aeba9771b9f0638d9f1ef3e0239b2ce8db72b6b861596ea0887512c8b3d33680 |
|
MD5 | 2379744d3d6aceafc718f95925afc2e8 |
|
BLAKE2b-256 | cb0f5c1ab70749668905d7523b9cfe7ed2bb46d665c039962faeddf0f78fcf8d |