diff options
Diffstat (limited to 'src/sslcat.sh')
-rw-r--r-- | src/sslcat.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sslcat.sh b/src/sslcat.sh new file mode 100644 index 0000000..f923935 --- /dev/null +++ b/src/sslcat.sh @@ -0,0 +1,9 @@ +host=${1-0} +port=${2-443} +args="" +if [ $# -gt 2 ] +then + shift; shift + args="$@" +fi +exec sslclient -RHl0 $args -- "$host" "$port" sh -c 'exec cat <&6' |