Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: Re: [NSE patch] print_debug() function

Re: [NSE patch] print_debug() function

From: Eddie Bell <ejlbell_at_gmail.com>
Date: Fri, 22 Jun 2007 14:36:52 +0100

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

On 22/06/07, Diman Todorov <diman.todorov_at_chello.at> wrote:
> Hi Matt,
> that's a great patch :) I remember you were trying to tackle this
> issue last year. This years patch is a lot more promising. Keep up
> the good work :) I applied it to the soc07 branch of nmap
>
> cheers
> Diman
>
> _______________________________________________
> Sent through the nmap-dev mailing list
> http://cgi.insecure.org/mailman/listinfo/nmap-dev
> Archived at http://SecLists.Org

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on Jun 22 2007

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos