From c2165578e1a25b5d11f49e599d03a7a99fc32088 Mon Sep 17 00:00:00 2001
From: AJ ONeal
Date: Mon, 3 Sep 2018 22:27:45 +0000
Subject: [PATCH] sclient: updated docs for v1.2
---
lib/extensions/admin/sclient/index.html | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/lib/extensions/admin/sclient/index.html b/lib/extensions/admin/sclient/index.html
index c041bb4..df3c924 100644
--- a/lib/extensions/admin/sclient/index.html
+++ b/lib/extensions/admin/sclient/index.html
@@ -14,10 +14,13 @@
(think telnet
, netcat
, ssh
, openvpn
, etc).
Usage
- $ sclient [-k] <remote> <local>
+ $ sclient [flags] <remote> <local>
+ $ sclient example.com:443 localhost:3000
Flags
- -k, --insecure ignore invalid tls certificates
+ - --servername <string> spoof SNI
+ (to disable use IP as <remote> and do not use this option)
Arguments
@@ -25,7 +28,7 @@
- <local> the local address and port to bind to (default bind address is 127.0.0.1 or ::1)
-
may be used to read from stdin (like netcat)
- - may be omitted when piping. Example:
printf "GET / HTTP/1.1\r\n\r\n" | sclient telebit.cloud
+ - may be omitted when piping (see pipe example below)
@@ -51,10 +54,11 @@
> Connection: close
>
-
-
- Downloads (standalone) v1.1
+ pipe
+ $ printf "GET / HTTP/1.1\r\nHost: telebit.cloud\r\n\r\n" | sclient telebit.cloud
+
+ Downloads (standalone) v1.2