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 weekly 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-3.0.0.224.tar.gz
(70.1 kB
view hashes)
Built Distribution
Close
Hashes for cloudcheck-3.0.0.224-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a491ef63ff59b8ccfb0411b17f8b6ca6de069428e6330b013d20764f138f24e1 |
|
MD5 | a9fee513e8ba0f03ab5612be60b41284 |
|
BLAKE2b-256 | 84893efcfe79cf21ac956e6ac5b9abfba9f6ace2a6099b6f477dd116f0e80293 |