Saturday, May 10, 2008

SSL Capable NetCat

"You all know what is netcat (written by Hobbit in 1996), how to use it and that it should have been integrated in all UNIX systems a long time ago. netcat lacked some features, and I tried to add them in this Perl version. For example, SSL support, TCP and UDP proxying and IPv4/IPv6 proxying features. This is now done, unless I missed a bug. Now, enjoy." - Author

http://www.gomor.org/bin/view/GomorOrg/SslNetcat

Usage

SSL Capable NetCat 1.01

Usage: scnc [-options] target port

-c use SSL (default to not)
-a use SSL certificate authority file
-f use SSL certificate file (PEM format)
-k use SSL private key file (PEM format)
-t do telnet negociation (default to not)
-6 use IPv6 (default to not)
-e cmd command to execute
-l listen for connections (default to not)
-p port use local port number (default to random high)
-s address use address for bindings (default to all addresses)
-u use UDP socket (default to TCP)
-v be verbose (default to not)
-z test port for openness
-r host:port proxy connection to host:port
-r host:port:ipv6 proxy connection to host:port using IPv6
-r host:port::ssl proxy connection to host:port using SSL
-r host:port:ipv6:ssl proxy connection to host:port using IPv6 and SSL