Nmap Development mailing list archives

[NSE] Strange bug in broadcast-ms-sql-discover


From: Patrik Karlsson <patrik () cqure net>
Date: Mon, 24 Oct 2011 18:44:43 +0200

Hi all,

I'm seeing the following error when running the broadcast-ms-sql-discover
script:

NSE: 'broadcast-ms-sql-discover' (thread: 0x7feb3b19df40) threw an error!
...sers/patrik/hacktools/rd/nmap-dev/./nselib/mssql.lua:2012: bad argument
#1 to 'set_port_version' (host is not being processed right now)

I'm quite sure that this error did not occur in the past. Does anyone have
an idea why it's behaving this way, except for the obvious error message?
As a temporary fix I've commented out the line causing the problem an
committed it as r26928.

I noticed this error only after I enabled debugging as I was quite certain
there were SQL servers on the network.
I'm not all that happy with scripts silently failing unless running in debug
mode.
Does anyone else feel that this isn't all that great either?

-- 
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: