From f14708495ab416916aa2d8f8e1047cbef5ddd22d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 6 Aug 2018 17:36:07 -0600 Subject: [PATCH] v1.0.4: typo fix in docs and cURL example --- README.md | 8 +++++++- package.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a3e39d..3b3cc9f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Unwrap a TLS connection: ```bash $ sclient whatever.com:443 localhost:3000 -> [listening] telebit.cloud:443 <= localhost:3000 +> [listening] whatever.com:443 <= localhost:3000 ``` Connect via Telnet @@ -24,6 +24,12 @@ Connect via netcat (nc) $ nc localhost 3000 ``` +cURL + +```bash +$ curl http://localhost:3000 -H 'Host: whatever.com' +``` + A poor man's (or Windows user's) makeshift replacement for `openssl s_client`, `stunnel`, or `socat`. Install diff --git a/package.json b/package.json index 447eae8..0e1cdbd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sclient", - "version": "1.0.3", + "version": "1.0.4", "description": "Secure Client for exposing TLS (aka SSL) secured services as plain-text connections locally. Also ideal for multiplexing a single port with multiple protocols using SNI.", "main": "index.js", "homepage": "https://git.coolaj86.com/coolaj86/sclient.js",