Nmap Development mailing list archives

Re: [NSE] mac-geolocation : BSSID (MAC) address based geolocation of WiFi access points


From: Gorjan Petrovski <mogi57 () gmail com>
Date: Fri, 27 May 2011 13:57:54 +0200

Without further ado, here is the updated version of the script.

Changes made:
* The null location (the IP based location of our host when a MAC is
invalid) is now stored in the registry so it's only generated from the
geolocation database only once per scan
* the nmap.registry[host.ip]["mac-geolocation"] array is read for
MACs, which will be filled by snmp-interfaces.nse (with a patch I'm
making)
* added a dependecy for snmp-interfaces.nse
* a manufacturer is added to the output alongside the MAC address
* updated NSEDoc
* fixed some bugs

I've tested the Skyhook API in every way I know, using several proxies
(including Tor exit nodes), but I've not been able to get a location
response. The API response is OK, but the location lookup doesn't
return a location. I've also contacted Skyhook, but they haven't
replied. I looked through the official APIs of Skyhook, and they offer
a proprietary compiled library which I suppose is out of the question.
I'm just gonna leave it there, because it might return a good location
for someone, somewhere.

Attachment: mac-geolocation.nse
Description:

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: