Nmap Development mailing list archives
Re: Current NSE script errors
From: Ron <ron () skullsecurity net>
Date: Sat, 23 Jan 2010 11:27:21 -0600
On 01/22/2010 12:34 PM, Brandon Enright wrote:
Saw this once. Ron, I'll get you more detail on this shortly: NSE: smb-os-discovery against a.b.17.24 threw an error! /home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:253: bad argument #2 to 'format' (number expected, got nil) stack traceback: [C]: in function 'format' /home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:253: in function 'get_status_name' /home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:1278: in function </home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:1142> (tail call): ? /home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:421: in function 'start_ex' /home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:2865: in function 'get_os' .../flexmap/nmap/svn/nmap//scripts/smb-os-discovery.nse:67: in function <.../flexmap/nmap/svn/nmap//scripts/smb-os-discovery.nse:65> (tail call): ? The same host returned this too: NSE: smb-enum-processes against a.b.17.24 threw an error! ...lexmap/nmap/svn/nmap//scripts/smb-enum-processes.nse:212: attempt to concatenate local 'result' (a nil value) stack traceback: ...lexmap/nmap/svn/nmap//scripts/smb-enum-processes.nse:212: in function <...lexmap/nmap/svn/nmap//scripts/smb-enum-processes.nse:205> (tail call): ? And it returned this too: NSE: smb-check-vulns against a.b.17.24 threw an error! /home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:253: bad argument #2 to 'format' (number expected, got nil) stack traceback: [C]: in function 'format' /home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:253: in function 'get_status_name' /home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:1278: in function </home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:1142> (tail call): ? /home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:421: in function </home/bmenrigh/flexmap/nmap/svn/nmap//nselib/smb.lua:393> (tail call): ? ...h/flexmap/nmap/svn/nmap//scripts/smb-check-vulns.nse:223: in function 'check_conficker' ...h/flexmap/nmap/svn/nmap//scripts/smb-check-vulns.nse:449: in function <...h/flexmap/nmap/svn/nmap//scripts/smb-check-vulns.nse:425> (tail call): ? More details to follow (hopefully later today). Brandon
I fixed all of those in r16555, but I'd like more information on what caused them. By the looks of it, the packets were missing a significant number of fields (previously, I was only checking if the last field was missing.. now I'm checking if the first and last are missing, therefore covering everything between. Ron -- Ron Bowes http://www.skullsecurity.org/ _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Current NSE script errors Brandon Enright (Jan 22)
- Re: Current NSE script errors Ron (Jan 23)
- Re: Current NSE script errors Patrik Karlsson (Jan 23)
- Re: Current NSE script errors Ron (Jan 23)
- Re: Current NSE script errors David Fifield (Feb 26)