Nmap Development mailing list archives
Re: NSE script start/stop output
From: Kris Katterjohn <katterjohn () gmail com>
Date: Tue, 06 Jan 2009 22:28:25 -0600
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/06/2009 10:22 PM, David Fifield wrote:
With Patrick's permission, I committed his NSE output patch. A message is printed when a script starts, stops, times out, or hits an error. I made all the messages include the script file name and the elapsed time. Messages are printed with -d1 and at -d2 the thread ID (memory address) is printed as well.
Cool!
Here are a couple of ideas for enhancement: 1. Change "SCRIPT ENGINE" to "NSE". 2. Print just the basename, not the whole path. With these changes the output would be NSE (1.280s): Starting banner.nse against 192.168.0.1:23. NSE (1.280s): Starting telnet-brute.nse against 192.168.0.1:23. NSE (1.280s): Starting http-trace.nse against 192.168.0.1:80. ... NSE (1.359s): Finished banner.nse against 192.168.0.1:23. NSE (1.412s): Finished http-trace.nse against 192.168.0.1:80. NSE (4.282s): Stopped telnet-brute.nse against 192.168.0.1:23 because of host timeout. NSE (0.396s): Starting err.nse against 192.168.0.1. NSE (0.396s): err.nse against 192.168.0.1 ended with error: Can't open socket
I like both of these ideas.
David Fifield
Thanks, Kris Katterjohn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJJZC9iAAoJEEQxgFs5kUfuaxoP/RJF+IUjB9eAGJe60IT/R0+s 7LicQJtn3Ks6XsH825+YtTDiEQ4Cpio4RpYcFz0T3x1XdYnZm8FUrDE2RHK8SBPB kwC3AdmNQhfLH3+ZGPopaL8ZJciRoHkWWq67lx0HG8zULeciveJ2tv3FZTgVIVVp jVRwcCOuJZgEluky4pimGmf6ZC/9s+8BbA3pN+sDqAkxnvQzRYblXH8ZoByKMXtr RUBDVclSmQQDAz58RVoP/TtetyvXQmssUn7yoMf6lloaYYfGrbEUb2CHUuQgJ+8h r12c+FENoBI9Dsju0Zpikc2vRfiBLj5ByipuKN8R0asZZEGhzoDCQ0N/Y3zHPdB0 T4TRxllqNKaBO1+HvxRSlqF30MG9nhxjdAszkecpUjbcg4035xH8QS44w6Rs6sZp HHRwjw6wsBodUTOUHGNh3/3/BogeeC65L3TDshkXsOmMKmGeRUyZH8ANnquvlMBO LY3gR5Ti/evyr+KEr+4nU95oMK0HqSmarX9KwbOk/JljpDO8JNsFR0aWxIdRMMfH wMVG9/D2k6G6jGXpGSaZBDZg+0DpilvV3qV2YtZvDtXRAUVPEvZMwetR/ai6YYEo vEhAjiX9TXPybAK8P0tpnWeCRrQ5n/XlNhr+FgBctzqy3ZqRuULdpFSNzpyLBAQN jvvGMDnYBI5vWqUBbdIa =aK+v -----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 script start/stop output David Fifield (Jan 06)
- Re: NSE script start/stop output Kris Katterjohn (Jan 06)
- Re: NSE script start/stop output David Fifield (Feb 16)
- Re: NSE script start/stop output Fyodor (Feb 04)
- Re: NSE script start/stop output Kris Katterjohn (Jan 06)