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

Uploaded Source

Built Distribution

cloudcheck-6.0.0.629-py3-none-any.whl (121.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloudcheck-6.0.0.629.tar.gz
  • Upload date:
  • Size: 105.8 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.629.tar.gz
Algorithm Hash digest
SHA256 9863c14ecc6af5417d6ace84a74ba3a359bacac72cc863bdd3edca3d6cee35a9
MD5 efc3f0b5ba9f437043b2b6693e731ea3
BLAKE2b-256 1ad8e6e15a7d724cd21d7555825d0d5cec435f0a145cdb0f59e9c6d22b7b13cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cloudcheck-6.0.0.629-py3-none-any.whl
Algorithm Hash digest
SHA256 c7437ee020e439be900e4a28bccae9c9861f184dcd5d5af1b677cd37e251d672
MD5 67f29468177817d4aaf7d224feba23f3
BLAKE2b-256 19d7794cf5fcef884351ed1658fe9b4233ba9bee7eda22bf02cbb7cac97cd029

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