Mirror von
https://github.com/therootcompany/sclient
synchronisiert 2024-11-16 17:09:00 +00:00
add typo fix and add curl example
Dieser Commit ist enthalten in:
Ursprung
e9845273b5
Commit
fe525b72c9
@ -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
|
||||||
|
|||||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren