Nmap Development mailing list archives

Re: [NSE] Reflection facilities for better verbose/debug output


From: David Fifield <david () bamsoftware com>
Date: Wed, 26 Sep 2012 19:00:30 -0700

On Wed, Sep 26, 2012 at 09:42:50PM -0400, Patrick Donnelly wrote:
So how about this:

For debugging == 1:

NSE: [http-title 127.0.0.1:80] ...

For debugging >= 2:

NSE: [http-title M:0xdeadbeef 127.0.0.1:80] ...

or for worker threads (stdnse.new_thread):

NSE: [http-title W:0xdeadbeef 127.0.0.1:80] ...

For verbosity == 1:

NSE: [http-title] ...

For verbosity >= 2:

NSE: [http-title 127.0.0.1:80] ...

This works for me.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: