Nmap Development mailing list archives
Re: [NSE] Yet another SMB version!
From: Brandon Enright <bmenrigh () ucsd edu>
Date: Tue, 21 Oct 2008 23:20:00 +0000
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 22 Oct 2008 00:10:25 +0100 jah <jah () zadkiel plus com> wrote:
You might do something like the following within scripts: stdnse.print_debug( 2, ("%s %s some error happened with something"):format(id, ip) ) which might give you
The trouble is that the ip and port are locally scoped and the library doesn't have access. Maybe good library procedure would be to pass the ip, port in so that the debugging and error output has more information available to it.
SCRIPT ENGINE DEBUG: MSRPC 192.168.1.1 some error happened with something when the debug level is 2. This narrows a thread down to a script and host. Regards, jah
Thanks jah. If you have any other suggestions for how to get this output I'm open. Brandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkj+Y6AACgkQqaGPzAsl94KEPACeOZ7iSLUXEpJl9xIMGPo6sOIq dZQAoIQor0rCa8Pr9watmWFMn0+r96Nc =DwDp -----END PGP SIGNATURE----- _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [NSE] Yet another SMB version! Ron (Oct 21)
- Re: [NSE] Yet another SMB version! Brandon Enright (Oct 21)
- Re: [NSE] Yet another SMB version! Ron (Oct 21)
- Re: [NSE] Yet another SMB version! Brandon Enright (Oct 21)
- Re: [NSE] Yet another SMB version! Ron (Oct 21)
- Re: [NSE] Yet another SMB version! jah (Oct 21)
- Re: [NSE] Yet another SMB version! Brandon Enright (Oct 21)
- Re: [NSE] Yet another SMB version! jah (Oct 21)
- Re: [NSE] Yet another SMB version! Ron (Oct 21)
- Re: [NSE] Yet another SMB version! bensonk (Oct 22)
- Re: [NSE] Yet another SMB version! Ron (Oct 21)
- Re: [NSE] Yet another SMB version! Brandon Enright (Oct 21)
- Re: [NSE] Yet another SMB version! Ron (Oct 21)