Nmap Development mailing list archives
Re: Nmap BUG 6.47
From: Daniel Miller <bonsaiviking () gmail com>
Date: Sun, 9 Nov 2014 15:44:23 -0600
On Sat, Nov 8, 2014 at 11:49 AM, Bart <chelloo () gmail com> wrote:
Hello , I wanted report this weird output . ERROR stack traceback: [C]: in function 'try' /usr/bin/../share/nmap/scripts/ftp-anon.nse:122: in function </usr/bin/../share/nmap/scripts/ftp-anon.nse:99> (...tail calls...)
Bart, Thank you for the bug report. Unfortunately, this is an intended behavior: when a script uses our "exception handler" system[1], the result on failure is a stack trace. If the stack trace lists "in function 'try'" then 99% of the time the problem is expected (a socket timeout or similar). I would love to have a system that allowed a script to halt (like our current try-catch does) without generating this stack trace, but I haven't looked into it deeply. Dan [1] http://nmap.org/nsedoc/lib/nmap.html#new_try _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Nmap BUG 6.47 Bart (Nov 09)
- Re: Nmap BUG 6.47 Daniel Miller (Nov 09)