Home page logo
/

nmap-dev logo 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: Tue, 24 May 2011 00:06:54 +0200

Here is the updated version with Toni's suggestion implemented.

On Mon, May 23, 2011 at 11:58 PM, Gorjan Petrovski <mogi57 () gmail com> wrote:
Cool! Thanks Tony!

On Mon, May 23, 2011 at 11:56 PM, Toni Ruottu <toni.ruottu () iki fi> wrote:
Maybe the short version should advertise the long version? See
http://nmap.org/nsedoc/scripts/quake3-master-getservers.html for an
example.

On Tue, May 24, 2011 at 12:49 AM, Gorjan Petrovski <mogi57 () gmail com> 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.

So now the default output looks like this:

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

The long output looks like this:

| mac-geolocation:
|   00:24:B2:1E:24:FE
|     Google
|       coordinates (lat,lon): 44.9507415,-93.100682
|       accuracy: 1025
|       address:
|         city: "St Paul"
|         country: "United States"
|         county: "Ramsey"
|         country_code: "US"
|         region: "Minnesota"
|     Skyhook
|       coordinates (lat,lon): 44.9507415,-93.100682
|       address:
|         street-number:
|         address-line:
|         city: "St Paul"
|         postal-code:
|         county: "Ramsey"
|_        state: "Minnesota"

Any more comments?
May I commit it?

Cheers,
Gorjan

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



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/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]