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

Uploaded Source

Built Distribution

cloudcheck-5.0.1.561-py3-none-any.whl (117.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cloudcheck-5.0.1.561.tar.gz
Algorithm Hash digest
SHA256 e4a44288bf7ca5405077ac4d39cc372cdf67df4a63ab35c3a114d863d454aa69
MD5 ea9d793f26c06ca5016b5e50368a3d45
BLAKE2b-256 c9317f2fa342dbc6bfba1e8769e217c2b0fd23311122b9423547b4e020f3d86e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cloudcheck-5.0.1.561-py3-none-any.whl
Algorithm Hash digest
SHA256 33c95bfd59bf454d21323d60badb21419c6715d585ba78a959620aec8aa924ac
MD5 29da27f90a0d146e990e8962307cec86
BLAKE2b-256 0ce3ed5f46c1a96e5926e1f01585038ea21ed073188ad4bf5a610b4788e49862

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