mirror of
https://git.coolaj86.com/coolaj86/sclient.js
synced 2025-02-21 15:28:04 +00:00
v1.0.4: typo fix in docs and cURL example
This commit is contained in:
parent
a052db3a23
commit
f14708495a
@ -9,7 +9,7 @@ Unwrap a TLS connection:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sclient whatever.com:443 localhost:3000
|
$ sclient whatever.com:443 localhost:3000
|
||||||
> [listening] telebit.cloud:443 <= localhost:3000
|
> [listening] whatever.com:443 <= localhost:3000
|
||||||
```
|
```
|
||||||
|
|
||||||
Connect via Telnet
|
Connect via Telnet
|
||||||
@ -24,6 +24,12 @@ Connect via netcat (nc)
|
|||||||
$ nc localhost 3000
|
$ 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`.
|
A poor man's (or Windows user's) makeshift replacement for `openssl s_client`, `stunnel`, or `socat`.
|
||||||
|
|
||||||
Install
|
Install
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sclient",
|
"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.",
|
"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",
|
"main": "index.js",
|
||||||
"homepage": "https://git.coolaj86.com/coolaj86/sclient.js",
|
"homepage": "https://git.coolaj86.com/coolaj86/sclient.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user