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.537.tar.gz
(103.2 kB
view details)
Built Distribution
File details
Details for the file cloudcheck-5.0.1.537.tar.gz
.
File metadata
- Download URL: cloudcheck-5.0.1.537.tar.gz
- Upload date:
- Size: 103.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8884dd9c3de0f634a191559255f3370222bfde5929b10d356415b58291f5d639 |
|
MD5 | c856d8433109bc59a544018ffca7aa03 |
|
BLAKE2b-256 | b8629c5e21acb7dbda45f3ce423b98a8f861aea594e3ca0bd4ee07a9f520faa4 |
File details
Details for the file cloudcheck-5.0.1.537-py3-none-any.whl
.
File metadata
- Download URL: cloudcheck-5.0.1.537-py3-none-any.whl
- Upload date:
- Size: 118.1 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 | ef5c3326bdacfd7048ecc4b1849e728ca705163e7e4713ba4546493af491024a |
|
MD5 | 9e3cd172a729cbe6736745538f178e91 |
|
BLAKE2b-256 | 37cda4204df55b6ea4517763293eefde01d06f812799174b462619ebd7a5ae9e |