c0de‎ > ‎

geolocate.py

posted Jan 30, 2012, 2:09 PM by Ramece Cave   [ updated Feb 4, 2012, 3:29 PM ]
Description
Geolocate is a part of a project called Felix that I started working on a few years ago. It queries api.hostip.info for geographical information based on the provided IP address. 
 
Requirements
Python

Syntax
Usage: geolocate <option> ipaddress|file
Options:
--file = Read IP Addresses in a file

Sample Output
mece@strongbad:~/development/felix$ ./geolocate.py 202.69.89.2
202.69.89.2 HONG KONG HK
mece@strongbad:~/development/felix$

Download --> geolocate.py