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

Uploaded Source

Built Distribution

cloudcheck-6.0.0.602-py3-none-any.whl (119.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cloudcheck-6.0.0.602.tar.gz
  • Upload date:
  • Size: 104.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.602.tar.gz
Algorithm Hash digest
SHA256 5543263471d3d0e804485a7fcf3e9c8aba3d3e7161473eb856b4f33122246131
MD5 9489a8d4ec1bd46488d0f3c94004fdf7
BLAKE2b-256 616cefd716dab1ce193b57370dfc2473d8e7d42fcadeda636a3b572d6a7d7277

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cloudcheck-6.0.0.602-py3-none-any.whl
Algorithm Hash digest
SHA256 1796a62c4e1f7bcbb9b9b84af5607cd428ba8c364c95ecf5f1b3a97a405e84b3
MD5 a8cb6b2a27b26121a277fdb816d3da76
BLAKE2b-256 410bd88a788b7badba4558d3e5c121157e2f5884cd99bced338cef2f7b4c9326

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