Nmap Development mailing list archives

Re: [NSE] Script execution error message


From: Patrick Donnelly <batrick () batbytes com>
Date: Thu, 29 Mar 2012 17:45:59 -0400

On Thu, Mar 29, 2012 at 5:33 PM, Patrik Karlsson <patrik () cqure net> wrote:
80/tcp open  http
| http-mirror:
|_  ERROR: Script execution failed unexpectedly! Re-run the script in debug
mode for additional details.

The message might need re-wording into something more appropriate, and also
I'm not sure whether the patch is in the right place or just completely
wrong.
So, any ideas or suggestions are most welcome!

Another possibility is collecting the scripts which failed into a
single error message in either the script output or as verbose
(verbosity == 0?) output. Or, maybe only print the warning for the
first script which fails in this way.

In your solution, it'd probably be nice to keep the error output to
something less than 65 characters so it always fits on one line.

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