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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloudcheck-5.0.1.522.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

Hashes for cloudcheck-5.0.1.522.tar.gz
Algorithm Hash digest
SHA256 373530acb2f992f49989854169c4819bda85febdd1bde3e36d3519ec693d1048
MD5 e0501560639cea824b9249e98e7a1248
BLAKE2b-256 86c7fb16a1d2c4be17ebacb8cdf5f1cd7fc0bd397c9efd79d173d15926b23f2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cloudcheck-5.0.1.522-py3-none-any.whl
Algorithm Hash digest
SHA256 733ed346d6c6a30cdf349ab856c578c5277cec01c18a83c9efee3e822e9bddb9
MD5 0cb4c3d543571efe03d608cd5327ed2f
BLAKE2b-256 5fc207731c75fda1ac290e652e2447aa59d859d7060a62e27f631fb15d6b6fe3

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