Nmap Development mailing list archives

Re: ip-geolocation-maxmind error


From: Patrik Karlsson <patrik () cqure net>
Date: Thu, 30 Aug 2012 20:18:14 +0200

On Wed, Aug 29, 2012 at 10:08 PM, Christopher Clements <
christopher.a.clements () gmail com> wrote:

Received this error during a script scan today (sanitized):

NSE: 'ip-geolocation-maxmind' (thread: 0x306b330) against xx.xx.xx.xx threw
an error!
...cal/bin/../share/nmap/scripts/ip-geolocation-maxmind.nse:405: Cannot
open Maxmind database file
stack traceback:
[C]: in function 'assert'
...cal/bin/../share/nmap/scripts/ip-geolocation-maxmind.nse:405: in
function 'new'
...cal/bin/../share/nmap/scripts/ip-geolocation-maxmind.nse:597: in
function <...cal/bin/../share/nmap/scripts/ip-geolocation-maxmind.nse:586>
(...tail calls...)
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Hi Christopher,

This occurs due to the script not being able to open the MaxMind database,
which has to be downloaded separately.
I guess the error message could be re-worked to be more informative and
include what's already in the script description.

Cheers,
//Patrik

-- 
Patrik Karlsson
http://www.cqure.net
http://twitter.com/nevdull77
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: