Skip to content

Fonta22/ip-details

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ip-details

This is a program that shows all the details of the given IP address. Build with Python and ipinfo.io API

Usage

To use this program, run the main Batch or Shell file, entering an IPv4 address as argument.

$ ip 1.1.1.1

You can also add the --save or -s flag, to save the output to a file. The file will be named details.log, and will be stored inside the saves directory of the program (saves/details.log).

$ ip 1.1.1.1 --save

Or, if prefered:

$ ip 1.1.1.1 -s

Example

$ ip 1.1.1.1

IP : 1.1.1.1
CITY : Miami
REGION : Florida
COUNTRY : US
LOC : 25.7867,-80.1800
ORG : AS13335 Cloudflare, Inc.
POSTAL : 33132
TIMEZONE : America/New_York
MAP : https://maps.google.com/maps/search/25.7867,-80.1800

And with the save option:

$ ip 1.1.1.1 --save

IP : 1.1.1.1
CITY : Miami
REGION : Florida
COUNTRY : US
LOC : 25.7867,-80.1800
ORG : AS13335 Cloudflare, Inc.
POSTAL : 33132
TIMEZONE : America/New_York
MAP : https://maps.google.com/maps/search/25.7867,-80.1800

Data saved to saves/details.log

details.log file:

image

Requirements

Python programming language

Requests python library (pip install requests)

About

Program that shows all the details of the given IP address. Build with Python and ipinfo.io API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published