diff options
Diffstat (limited to 'script/sslcat.sh')
-rw-r--r-- | script/sslcat.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/script/sslcat.sh b/script/sslcat.sh new file mode 100644 index 0000000..716c6ab --- /dev/null +++ b/script/sslcat.sh @@ -0,0 +1,10 @@ +#!/bin/sh +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' |