Nmap Development mailing list archives

[RFC] Now Redoing Ncat's Output Options


From: Kris Katterjohn <katterjohn () gmail com>
Date: Sat, 11 Oct 2008 00:22:22 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey everyone,

While discussing redoing Ncat's proxy options[1] I had forgotten that "-x" is
actually already in use for providing a hex dump of a session.

I must admit I don't recall ever using output options such as this while using
any Netcat incarnation.  The original Netcat uses -o for a hex dump, while
upon first glance OpenBSD Netcat and Netcat6 don't seem to offer anything like
this at all.

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.

So anyway, Ncat has the following output options available:

  -o, --output (ASCII output)
  -x, --hex-dump (Hex output)

I'm in favor of changing these to names resembling Nmap's output options.  And
not just because -x needs to be changed per the proxy discussion: I think that
if there is going to exist more than one output option, they should be at
least more similar in name.

My first thought is this:

  -oA (ASCII)
  -oH (Hex)

Would this be confusing since Nmap has -oA for "all" log formats?  What about
using -oN instead?  That may correspond better since ASCII is "normal."

Ncat is a separate program from Nmap, but (especially since they'll ship
together now) I worry about having option names too similar or too different
between the two.

What's your take on this?  Even if you don't use these options, what do you
think of the new names?

Thanks,
Kris Katterjohn

[1] http://seclists.org/nmap-dev/2008/q4/0144.html

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBSPA4DP9K37xXYl36AQK0EhAAih8N/3tW2MbRdwrAVXj+sUck13+GVrrH
NUDdoY5rBeFzBYmB/Bv0P1It5bD0yIoLw5Fy/16g+B6IYVQ1rWWToTGL/mQEEnQK
Y7hy19pKUsxpWzTok121/jVS79cqoLKE+QObV2PyAn5infpa2+z98O+5jcqqQNp1
sEAIuDGs52tDs0u+FEfZry71I4OSdBWemWIUu7wpeotuMXKysGMYTpC4/Z26rFxx
4ZeCfftdswVY0Y/d387EG0bYmc6XsGdVjIDQV/nnVtOV5grErJGFFwnUTjYCaJ7Q
r/ruGNy7emHgD7lPvxPZfmSR9dpmcDida5UHAM3kSNVGvepLNRSflDpVGyvIt3VH
OI+a9iapUfXdWFqSZ0P4A+U/L0d8HK7es1OLj2ed/JtvjGf1na8vDxfkbsQ9bUFD
UFpKN5Q21fWcFX7/rR3Hd6NvCwqlQD1usyqLKSJJjS/svradJLq0/PtIGw9sFrO/
BZhiCyCL//JDstPFVIiXWbAg8ipCC0/fgVlYnyLI61TWLaUXR0C79ae91WsCGFYq
apo8bqXlBuHNQE/6G2obrZbUzzJ75MUiH360TNTE1F6s386XBDGZ9DlUcG7uHY/O
te7EGkIuH3IayO/u/n0oI5vVk8LI8WJ/G98pxN2PKjeGGP7KpRzJCjfXyBoOpd5Z
812s+ym5qWE=
=mt/7
-----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: