summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/https@.sh (renamed from src/https@.sh)5
-rw-r--r--script/sslcat.sh (renamed from src/sslcat.sh)1
-rw-r--r--script/sslconnect.sh (renamed from src/sslconnect.sh)1
3 files changed, 5 insertions, 2 deletions
diff --git a/src/https@.sh b/script/https@.sh
index 6a902b7..896cc7f 100644
--- a/src/https@.sh
+++ b/script/https@.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
host=${1-0}
path=${2-}
port=${3-443}
@@ -9,7 +10,7 @@ then
fi
echo "GET /${path} HTTP/1.1
Host: $host:$port
-" | HOME/bin/sslclient -XRHl0 $args -- "$host" "$port" sh -c '
+" | sslclient -XRHl0 $args -- "$host" "$port" sh -c '
addcr >&7
- exec HOME/bin/delcr <&6
+ exec delcr <&6
' | awk '/^$/ { body=1; next } { if (body) print }'
diff --git a/src/sslcat.sh b/script/sslcat.sh
index f923935..716c6ab 100644
--- a/src/sslcat.sh
+++ b/script/sslcat.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
host=${1-0}
port=${2-443}
args=""
diff --git a/src/sslconnect.sh b/script/sslconnect.sh
index 3462540..a28aef6 100644
--- a/src/sslconnect.sh
+++ b/script/sslconnect.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
host=${1-0}
port=${2-465}
args=""