神刀安全网

IPGeoLocation – Retrieve IP Geolocation Information

IPGeoLocation is a Python based tool designed to retrieve IP geolocation information from the ip-api service, useful for building into your security tools.

IPGeoLocation – Retrieve IP Geolocation Information

Do be aware that as this tool is leveraging a 3rd party API, you will be limited to 150 requests a minute. Whilst that is quite a lot, just be wary of it because if you exceed the limit you will get blocked.

Features

  • Retrieve IP or Domain Geolocation.
  • Retrieve your own IP Geolocation.
  • Retrieve Geolocation for IPs or Domains loaded from file. Each target in new line.
  • Define your own custom User Agent string.
  • Select random User-Agent strings from file. Each User Agent string in new line.
  • Proxy support.
  • Select random proxy from file. Each proxy URL in new line.
  • Open IP geolocation in Google Maps using the default browser.
  • Export results to csv, xml and txt format.

Geolocation Information Retrieved

  • ASN
  • City
  • Country
  • Country Code
  • ISP
  • Latitude
  • Longtitude
  • Organization
  • Region Code
  • Region Name
  • Timezone
  • Zip Code

Usage

$ ./ip2geolocation.py usage: ipgeolocation.py [-h] [-m] [-t TARGET] [-T file] [-u User-Agent]                         [-U file] [-g] [--noprint] [-v] [--nolog] [-x PROXY]                         [-X file] [-e file] [-ecfile] [-exfile]   IPGeolocation 2.0.3   --[ RetrieveIPGeolocationinformationfromip-api.com --[ Copyright (c) 2015-2016 maldevel (@maldevel) --[ ip-api.comservicewillautomaticallybananyIPaddressesdoingover 150 requestsperminute.   optionalarguments:   -h, --help            showthis helpmessageand exit   -m, --my-ip          GetGeolocationinfofor myIPaddress.   -t TARGET, --targetTARGET                         IPAddressor Domainto beanalyzed.   -T file, --tlistfile                         A listofIPs/Domainstargets, each targetin new line.   -u User-Agent, --user-agentUser-Agent                         SettheUser-Agentrequestheader (default: IP2GeoLocation 2.0.3).   -U file, --ulistfile                         A listofUser-Agentstrings, each string in new line.   -g                    OpenIPlocationin Googlemapswithdefault browser.   --noprint            IPGeolocationwillprintIPGeolocationinfoto terminal. Itis possibleto tellIPGeolocation n otto printresultsto terminalwiththis option.   -v, --verbose        Enableverboseoutput.   --nolog              IPGeolocationwillsave a .logfile. Itis possibleto tellIPGeolocationnot to savethoselog fileswiththis option.   -x PROXY, --proxyPROXY                         Setupproxyserver (example: http://127.0.0.1:8080)   -X file, --xlistfile                         A listofproxies, each proxyurlin new line.   -e file, --txtfile  Exportresults.   -ecfile, --csvfile  Exportresultsin CSVformat.   -exfile, --xmlfile  Exportresultsin XMLformat. 

You can download IPGeoLocation v2.0.3 here:

IPGeoLocation-2.0.3.zip

Or read more here .

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » IPGeoLocation – Retrieve IP Geolocation Information

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮