Skip to main content

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


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.638.tar.gz (106.7 kB view details)

Uploaded Source

Built Distribution

cloudcheck-6.0.0.638-py3-none-any.whl (123.2 kB view details)

Uploaded Python 3

File details

Details for the file cloudcheck-6.0.0.638.tar.gz.

File metadata

  • Download URL: cloudcheck-6.0.0.638.tar.gz
  • Upload date:
  • Size: 106.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.20

File hashes

Hashes for cloudcheck-6.0.0.638.tar.gz
Algorithm Hash digest
SHA256 8d9ec986d65706a1b4482bdf7d5a91c641ab0cbbf6b2b026238df0b79a3db758
MD5 91cff8124fc449efbdd914c153c68c7a
BLAKE2b-256 92bcf6478f0d75567278c935f2fcdf9b4ce69b1f655845b7979017c7ecb38423

See more details on using hashes here.

File details

Details for the file cloudcheck-6.0.0.638-py3-none-any.whl.

File metadata

File hashes

Hashes for cloudcheck-6.0.0.638-py3-none-any.whl
Algorithm Hash digest
SHA256 8a75fa30dd3e28976d08ca795c1477f09c5256c15d2109347af47b397846e973
MD5 8033434ca5d17518f86c91432b784369
BLAKE2b-256 2fceebbe0deb30da2c720c9f4067bd3bd7e58bb66a74b4ac642f3e130709f56f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page