Nmap Development mailing list archives
Re: Updated output for scripts
From: Kris Katterjohn <katterjohn () gmail com>
Date: Tue, 10 Nov 2009 21:51:39 -0600
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/10/2009 08:03 PM, Fyodor wrote:
Or perhaps it would be even better with the "|" replaced by a space for levels 2 and greater:| smb-enum-users: | WINDOWS2003\Administrator (RID: 500) | Description: Built-in account for administering the computer/domain | Flags: Password does not expire, Normal user account | WINDOWS2003\ASPNET (RID: 1008) | Full name: ASP.NET Machine Account | Description: Account used for running the ASP.NET worker process (aspnet_wp.exe) | Flags: Password not required, Password does not expire, Normal user accountPersonally, I think I like this last one (#3) best.
My only problem with this is that certain things don't handle whitespace like we like so any copy/paste or whatever could ruin any indentation. Having the pipes helps to alleviate this. Users are stuck with this style of output for now, so we should make sure they can use it as much as possible. And this, of course, is the main reason I dislike Python. I prefer Ruby regardless of this, but I'd hate having to worry about whitespace for something as crucial as code block delimiters. I recall talking with David about this at DEFCON... but I'll try to stop my recursive tangents for now :)
Cheers, -F
Kris Katterjohn -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJK+jTKAAoJEEQxgFs5kUfunxAQAJWMslGlAZOReAGbvUEj4T5X 3dc3UqJD/6EEmTf9T9GlKFFJqWTKcGbFYFR4ZwgTJ9Eexq6xzeMg/00Q7ZjnQ0WA JrjVhx6JsGjD7OlJ5IWykjxh4NdDDDk+jEUUOl2tgC1y+vGqHof2wo2tGDVCWx84 6Mc473GZh0cmW/Beo7OA04KoPMGyGRx/LwklnQ04vFRpQ1Z+FteYjtcf7Io09zVM AFbeiEbxnR+6vP+538tle2VmAvgi8ID2rKgN/7xA6RyCZbfE3aeZcFvXFtnIp7Ek aVASrCMHaJbKh+S9iBiKqwKpEl3EOvu+d8iAuiRx+S9qRiItDuc+FPW+Y6pkCS0p KNr5GPuhl06l5UC2owngf6k6IBU/BcaqhzLomhKqegoXzgWm5aBHP0WIBuL6xi06 4WB+eS7WMFzeKIPngrFwMepgK9QNGVEfb4i2CxWeDEvGQAWY7K7qlO1rXc8XUv2K ZVH8KiJLeFPFyfnAy15HY5K9jfBJifEOUwAZw0incdjVQA2Mclf2mSvEM31cvgnf svNNH4FFT6j5NzXjIuBMsgvQMS2WdHvlEyDXZAS8WxMWF0MEwtAN5dluVdsbbfAS JcBYIovvpevnTGdL4Ahkqj9oHNjVCIKj4oaYVFv3am9Ff7dwSUwZBoh64tExK0eb rHHhPCAT8YjYefHowJkL =NcJL -----END PGP SIGNATURE----- _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Updated output for scripts Ron (Nov 10)
- Re: Updated output for scripts Patrick Donnelly (Nov 10)
- Re: Updated output for scripts Ron (Nov 10)
- Re: Updated output for scripts DePriest, Jason R. (Nov 10)
- Re: Updated output for scripts Ron (Nov 10)
- Re: Updated output for scripts Fyodor (Nov 10)
- Re: Updated output for scripts Kris Katterjohn (Nov 10)
- Re: Updated output for scripts Ron (Nov 10)
- Re: Updated output for scripts Fyodor (Nov 11)
- Re: Updated output for scripts Ron (Nov 11)
- Re: Updated output for scripts Patrick Donnelly (Nov 10)
- <Possible follow-ups>
- Updated output for scripts Ron (Nov 10)
- Re: Updated output for scripts Ron (Nov 14)
- Re: Updated output for scripts Fyodor (Nov 14)
- Re: Updated output for scripts jah (Nov 15)
- Re: Updated output for scripts Ron (Nov 14)