Nmap Development mailing list archives
Re: [RFC] Now Redoing Ncat's Output Options
From: Kris Katterjohn <katterjohn () gmail com>
Date: Sat, 11 Oct 2008 12:30:17 -0500
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/11/2008 02:24 AM, Dirk Loss wrote:
doug () hcsw org wrote: > On Sat, Oct 11, 2008 at 12:22:22AM -0500 or thereabouts, Kris Katterjohn wrote:But this email isn't about removing these options, just renaming them. Unless there are any compelling reasons to remove them, in which case feel free to mention them.cat -v [1]. I vote remove 'em. Unix already has a way to print hex output:That's a good point. Maybe we should not focus on output _formats_, but more on output _contents_, i.e. include some of Ncats internal information that would be lost in a plain binary ouput. Such as direction of the communication (who said what), timestamps, or other meta information. Just as the metadata in Nmap's XML. Another aspect: As Ncat is supposed to work on Windows boxes as well, where some typical Unix text-utils aren't available, it might make sense to include at least some common formatting options in Ncat.
Indeed, Doug does brings up an excellent point (and link). However, as you mention, we have to support Windows as much as possible, so providing some sort of output option seems necessary at the moment (but do correct me if I'm wrong anybody). Of course, we could go the way of traditional Netcat and change -o to provide a hex dump and not worry with any other output. Since cmd.exe apparently supports pipes and redirection[1][2], there is probably a program or option equivalent to tee on Windows to provide something like the current -o. And if there is a somewhat-standard Windows program for providing a hex dump, in the fashion that Doug showed, dropping them both seems viable. Thoughts?
Regards Dirk
Thanks, Kris Katterjohn [1] http://en.wikipedia.org/wiki/Windows_command_line [2] http://technet.microsoft.com/en-us/library/bb490982.aspx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBSPDip/9K37xXYl36AQK1sRAAhq/SU0PoOJwBjMAyn8An4qYOGuOkZYS6 cgOpUEN4AOLVN/Q3qysf7O+TIr8UDBtpiB/yQWCao2ENO10csku//Ix4VDBxlc7l TeJsN6obZmxuq/dAy5p7Z49BMdO2ahvSfapw+I5HKPOHrPvGD+jlQRaTlW/54CBy +whi7m6grj2GB5IIRgIjybJUGvHDC0S4Id9MNR2a2k7Xm8SeJOHtqfNjxKxgWFBF GUpYC0XoWeS//CbHm9eZR/kHpozii7N2s2HiTo6AKw++mFEJBGIrzFCTxFhDfzxP Q9IzGIo97XO75AINLzOC3Hag13QG7hWXE3V1g00KNtPHA+waHzlrgn7x8BmeWWoG EttUdlafIRY/00tgcNrp9mKGyqPIp5AuoqVcNay1RDFIL0dwSIXYmcunJcosnDu6 4LptwLz9IuB7J5V63+ZYNFVFl7lRCwNrUeaJNHgyNQ38k0HVJypqlN3otaUFoTfD wm0JP2p8APbkqh/4BqlnE/eCGqfOT47xSY4EwMGo1EXY8MbVtGammfcY1vbwvd8u ZqlmqNo+wW1e55R7sXl1p7wpc28/ubkdbtCtnimcCmq5dyfVL8w+TzXOqysIG3TZ dJY0hZcKahTIFG3VyfR6J5P9DsZ7slo14su9GvW4mcTBM3evbfS1eNOlPGbID5/j pCYz4Alk+qA= =uhAX -----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:
- [RFC] Now Redoing Ncat's Output Options Kris Katterjohn (Oct 10)
- Re: [RFC] Now Redoing Ncat's Output Options Dirk Loss (Oct 10)
- Re: [RFC] Now Redoing Ncat's Output Options doug (Oct 10)
- Re: [RFC] Now Redoing Ncat's Output Options Dirk Loss (Oct 11)
- Re: [RFC] Now Redoing Ncat's Output Options Kris Katterjohn (Oct 11)
- Re: [RFC] Now Redoing Ncat's Output Options DePriest, Jason R. (Oct 11)
- Re: [RFC] Now Redoing Ncat's Output Options Kris Katterjohn (Oct 11)
- Re: [RFC] Now Redoing Ncat's Output Options Dirk Loss (Oct 11)