snetcat is a clone of a famous netcat utility developed by the UNIX hacker we know as Hobbit, with SSL and easier port forwarding support. A tiny Matrix SSL lib, with footprint about 50K, was used to implement encryption.
Sources, statically linked binaries for Linux and FreeBSD 5, precompiled Windows executable you can get from Sourceforge project page
usage: snetcat [OPTIONS] [<host> <port>] -u use UDP instead of TCP -g bind to INADDR_ANY -o file hexdump passed traffic to a file -d Act as listening server, forking childs -s certif Wrap the connection into SSL, using given certificate file -l localport listen on localport -e prog redirect stdin/stdout to program
% echo -e "GET /index.html HTTP/1.0\n\n" | snetcat www.yahoo.com 80
% echo -e "GET /index.html HTTP/1.0\n\n" | snetcat -s "" www.yahoo.com 80
% snetcat -l local_port remote_host remote_port
% snetcat -l 443 -s CERTIFICATE.PEM -d 127.0.0.1 80
© Sergey Lyubka <valenok at gmail dot com>