GithubHelp home page GithubHelp logo

vaibkamble / cloud_ip_ranges Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nccgroup/cloud_ip_ranges

0.0 1.0 0.0 16 KB

Identify IP addresses owned by public cloud providers

License: MIT License

Python 100.00%

cloud_ip_ranges's Introduction

Cloud IP Ranges

Description

Most cloud providers publish up to date lists of their IP address ranges. This tools identifies if an IP belongs to a provider's ranges by fetching and parsing the latest lists.

Supports:

  • AWS (source)
  • Azure (source)
  • Google Cloud Platform (source)
  • Alibaba Cloud (currently doesn't publish lists)
  • Oracle Cloud Infrastructure (source)
  • IBM Cloud (currently doesn't publish lists)
  • DigitalOcean (source)

This tool is inspired by Nimbusland by Bryce Kunz.

Usage

The preferred installation method is with pipx:

$ pipx install https://github.com/nccgroup/cloud_ip_ranges
$ cloud_ip_ranges

Alternatively, you can setup a virtual environment and install dependencies:

$ virtualenv -p python3 venv
$ source venv/bin/activate
$ pip -r requirements.txt

Run the tool:

$ cloud_ip_ranges -h

usage: cloud_ip_ranges [-h] [-q] ip

positional arguments:
  ip           The IP to evaluate, e.g.: 8.8.8.8

optional arguments:
  -h, --help   show this help message and exit
  -q, --quiet  Suppress logging output

$ cloud_ip_ranges 52.4.0.0

2020-09-18 17:38:42 host __main__[21549] INFO Starting
2020-09-18 17:38:42 host __main__[21549] INFO Checking for AWS
2020-09-18 17:38:43 host __main__[21549] INFO Match for AWS range "52.4.0.0/14", region "us-east-1" and service "AMAZON"
2020-09-18 17:38:43 host __main__[21549] INFO Match for AWS range "52.4.0.0/14", region "us-east-1" and service "EC2"
2020-09-18 17:38:43 host __main__[21549] INFO Checking for Azure
2020-09-18 17:38:44 host __main__[21549] INFO Checking for GCP
2020-09-18 17:38:44 host __main__[21549] INFO Checking for OCI
2020-09-18 17:38:44 host __main__[21549] INFO Done

cloud_ip_ranges's People

Contributors

thisismissem avatar x4v13r64 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.