Home page logo

nmap-dev logo 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:

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


Can you give an example command that reproduces this?

- Patrick Donnelly
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

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