Skip to content
MattReid87Public

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

IPInfo

Example project that gathers basic information about an external IP address. The information includes average ping, hops from local system, geo location information and weather, as well as registration information.

Example

Get-IPInfo 151.101.1.140 -json

Requirements

  • Accepts an IP Address as an Input Parameter
    • Prompt for the IP if it isn't given as a commandline option
    • Enforce that the input is a Valid, internet-routable IP address and tell the user if it's not
  • Output the number of hops between the computer running the script and the input IP
  • Output the average latency of 10 pings to the IP
  • Give information about the IP entered in a friendly manner (sentences):
    • Owner of the netblock
    • Geo-location information
    • What ISP, who owns the AS Number, etc
    • Local time and Weather for the Geo-Loc of the IP
  • An optional second commandline parameter to the script that instead outputs all the requested info as a JSON object

ToDo

  • Error handeling around API
  • URL Builder
  • Clean up object creation
  • Add verbose logging

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages