Skip to content

Surendrajat/IPinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPinfo

Get info about your Public IP: Geo location, ASN, ISP and VPN/Proxy detection from CLI

GitHub release (latest by date) GitHub Workflow

Install

  • If you have Go installed and $GOPATH/bin is in PATH, simply do

    go get github.com/surendrajat/ipinfo
  • Or, Download ipinfo binary from latest release and add it to PATH

Run ipinfo

$ ipinfo
IP      124.123.122.1
Geo     26.000,75.000 Manglore, Karnataka, IN 000000
ASN     [AS12345 ISP: Atria Convergence Technologies Pvt. Ltd.(actcorp.in)]
Company [BUSINESS: Beam Telecom Pvt Ltd, Hyderabad(beamtele.com)]
Privacy none

$ nordvpn connect
Connecting to India #29 (in29.nordvpn.com)
You are connected to India #29 (in29.nordvpn.com)!

$ ipinfo
IP      152.34.212.1
Geo     26.000,76.000 Bengaluru, Karnataka, IN 000000
ASN     [AS01234 HOSTING: SoftLayer Technologies Inc.(softlayer.com)]
Company [BUSINESS: TEFINCOM S.A.(nordvpn.com)]
Privacy vpn
$

Credits

ipinfo.io : IP Address Data Provider