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

Uploaded Source

Built Distribution

cloudcheck-5.0.1.571-py3-none-any.whl (118.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloudcheck-5.0.1.571.tar.gz
  • Upload date:
  • Size: 103.1 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.571.tar.gz
Algorithm Hash digest
SHA256 342f0b84bd7f8dddbfcd08277f8bf23fd0c868232a97bc20be7c7af196330b02
MD5 52d92a3bd3b205d94ce5b7d87a68a15f
BLAKE2b-256 560c55dba27f1fb4eaacb46f54c44f4f635b7ec69ad4eef170c26c3ce4866d21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cloudcheck-5.0.1.571-py3-none-any.whl
Algorithm Hash digest
SHA256 5a3a06f74fa7ab6828d27182f42b199e89966b615618f87c87c05f3f347fa7dd
MD5 006a63abf0ff655c47ffbb0d01b9426c
BLAKE2b-256 7a2a68c85ce996c5bf9d10fe5cc06347557140808c3636f36d52ee21f8e72aba

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