cloudip

command module
v0.0.0-...-47d01aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

cloudip

This program will retrieve a list of all public IP address ranges (v4 or v6) for the three major cloud vendors:

Amazon AWS (aws), Microsoft Azure (azure) and Google (google)

Flags:

For the --vendor (-v) flag, you must specify one of these options: aws | azure | google For the --iptype (-i) flag, you must specify either: 4 or 6

By default, the ranges are printed to the console/screen. If you would like to save them in a file, the output format is CSV, and you can use the "--file" (-f) flag to specify a file name.

Usage:
  cloudip [flags]

Flags:
  -f, --file string     CSV filename to save the output to
  -h, --help            help for cloudip
  -i, --iptype int      IP Type to export - 4|6 (default 4)
  -v, --vendor string   Cloud vendor to export IP's from - aws|azure|google

Installation

The easiest way to run this program is to download the binary for your OS of choice from the Releases section.

You can optionally choose to clone this repo and run the script as follows (must have Golang installed):

go run main.go --vendor aws --iptype 4 --file AWS_IP_Ranges.csv

Documentation

Overview

Copyright © 2022 Scott Ware <scottdware@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL