Nmap Development mailing list archives

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


From: Fyodor <fyodor () insecure org>
Date: Mon, 23 May 2011 22:36:32 -0700

On Mon, May 23, 2011 at 11:49:43PM +0200, Gorjan Petrovski wrote:
Hi,

The updated version of the script is attached. I've decided to keep
the script output as minimal as possible. The script outputs only the
coordinates by default, but additional information included in the
output can be triggered by the extra_info argument.

I agree that it is important that scripts be concise.  But I think it
would be useful to at least show the city.  For example, in your
example output:

| mac-geolocation:
|   00:24:B2:1E:24:FE
|     Google
|       coordinates (lat,lon): 44.9507415,-93.100682
|     Skyhook
|_      coordinates (lat,lon): 44.9507415,-93.100682

You could change it to:

| mac-geolocation:
|   00:24:B2:1E:24:FE
|     Google
|       coordinates (lat,lon): 44.9507415,-93.100682
|       city: St Paul, Minnesota, United States
|     Skyhook
|       coordinates (lat,lon): 44.9507415,-93.100682
|_      city: St Paul, Minnesota, United States

It would give the city name (if available) followed by the
region/state (if available), followed by the country (if available).

Also, it would be nice to have an NSE argument to control which
provider(s) are used (Google, Skyhook, or both).  And I think we've
talked about adding a feature whereby it would look up target's MAC
addresses (whether determined from snmp-interfaces or the more common
case where Nmap finds MAC addresses for targets on a local LAN).

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


Current thread: