Check which cloud provider is hosting a particular IP address. Some providers will also have service and region listed
./ip2provider.py [flags] [ip]
git clone https://github.com/oldrho/ip2provider.git
cd ip2provider
pip3 install -r requirements.txt
Arguments
ip
: One or more comma-separated IP addressesFlags
-o
, --output
: Select an output format (default text
)
text
will output one result per linejson
will output a JSON arrayraw
will output all results in a JSON array without filtering--update-lists
: Update the route lists for each providerPiped
cat ip_addresses.txt | ./ip2provider.py
One IP address per line
Supported Providers