Skip to content

Check whether an IP address belongs to popular cloud providers

Notifications You must be signed in to change notification settings

hackedbyagirl/cloudcheck

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudCheck

A simple Python utility to check whether an IP address belongs to a cloud provider.

cloud_providers.json contains up-to-date lists of CIDRs for each cloud provider (updated weekly 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 104.16.0.1
104.16.0.1 belongs to Cloudflare (cdn) (104.16.0.0/13)

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

About

Check whether an IP address belongs to popular cloud providers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%