Nmap Development mailing list archives
Re: [NSE patch] print_debug() function
From: Diman Todorov <diman.todorov () chello at>
Date: Sat, 23 Jun 2007 00:51:11 +0200
On 22.06.2007, at 15:36, Eddie Bell wrote:
I could be doing something wrong but I can't get this to work in its current (nselib) form. nmap.print_debug(2, "blah") => attempt to call field 'print_debug' (a nil value) If I add 'module(...,package.seeall)' to stdnse.lua and require("stdnse") to my script I can access the debug function like this: stdnse.print_debug(2, "blah") => blah
thanks for committing the fix :) cheers, Diman _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [NSE patch] print_debug() function Matthew Boyle (Jun 21)
- Re: [NSE patch] print_debug() function Diman Todorov (Jun 22)
- Re: [NSE patch] print_debug() function Eddie Bell (Jun 22)
- Re: [NSE patch] print_debug() function Diman Todorov (Jun 22)
- Re: [NSE patch] print_debug() function Eddie Bell (Jun 22)
- Re: [NSE patch] print_debug() function Diman Todorov (Jun 22)