Nmap Development mailing list archives

Re: [NSE] Bug in stdnse.get_script_args


From: Patrick Donnelly <batrick () batbytes com>
Date: Sat, 19 Feb 2011 05:17:12 -0500

On Sat, Feb 19, 2011 at 3:46 AM, Patrik Karlsson <patrik () cqure net> wrote:
Hi,

While working on the mssql scripts I ran into a bug when using the get_script_args function.
When I supply an empty string or a string containing only spaces I receive the following stack trace:
./nse_main.lua:928: Value around '}' is invalid or is unterminated by a valid seperator
stack traceback:
       [C]: in function 'error'
       ./nse_main.lua:928: in function 'parse_string'
       ./nse_main.lua:959: in function 'parse_table'
       ./nse_main.lua:969: in main chunk
       [C]: ?

QUITTING!

Can you give an example command that reproduces this?

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

Current thread: