From fe525b72c9758320a80805456cf7ec1f1b0ec28b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 6 Aug 2018 17:34:32 -0600 Subject: [PATCH] add typo fix and add curl example --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dcf9ec6..bc2b2ba 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