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.528.tar.gz
(103.0 kB
view details)
Built Distribution
File details
Details for the file cloudcheck-5.0.1.528.tar.gz
.
File metadata
- Download URL: cloudcheck-5.0.1.528.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 | a1d1f6fdaaa93f891cb33096bb7492d6bee7909ebd8eb46f293a47a600ee45ff |
|
MD5 | 2b20fe00a56be5e5a72cfa41a7ba2565 |
|
BLAKE2b-256 | 6428b8f38af89fb6dc6074014d92ebd0830b0ab069fa76dcc18c4d006dd35a60 |
File details
Details for the file cloudcheck-5.0.1.528-py3-none-any.whl
.
File metadata
- Download URL: cloudcheck-5.0.1.528-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 | bc0a6cabbee08febb2cb13c9b2367799802872d00bb72974d11efc41f09c0176 |
|
MD5 | 1bad4cc702a7d6b68fa4c47dadf08368 |
|
BLAKE2b-256 | bb6d1634d3513906fa7456e63290d55db1b8a5e183249e9624f4097054a8390b |