View Single Post
Posts: 38 | Thanked: 17 times | Joined on Jun 2008
#1
see this article

I have written a python script to check whether a given mac address is contained in the google database.
Also the browser will be opened with google maps at the returned geo coordinates.

(don't forget to make the script executable with chmod +x wlan_geoloc.py)

Usage: wlan_geoloc.py -m macaddr
optional arguments:
-g print google url (default)
-s print search.ch url, if possible, otherwise print nothing
-o with -g or -s, print url and open it in the browser
-l print just latitude longitude (turns above options off)
-c print country code (turns above options off)
-d debug
example:
wlan_geoloc.py -m 00:11:24:EC:72:CF
Attached Files
File Type: zip wlan_geoloc.zip (2.2 KB, 120 views)

Last edited by rolfok; 2011-06-17 at 14:03.
 

The Following User Says Thank You to rolfok For This Useful Post: