update web copy

This commit is contained in:
AJ ONeal 2018-09-01 05:58:44 +00:00
parent d755b94bcd
commit 22e3730c4c
2 changed files with 25 additions and 5 deletions

View File

@ -31,7 +31,8 @@
</header><div class="hero"> </header><div class="hero">
<div class="container"> <div class="container">
<div class="spiel"> <div class="spiel">
<h1>Work from 127.0.0.1</h1> <h1>Build a Better Web
<br>Work from 127.0.0.1</h1>
</div> </div>
<div class="hero-download"> <div class="hero-download">
<a class="link-button wide" href="#download-section">Download</a> <a class="link-button wide" href="#download-section">Download</a>
@ -312,7 +313,7 @@ Just confirm your email address:
<div class="input-error email js-inactive"></div> <div class="input-error email js-inactive"></div>
<input type="email" name="email" id="email" placeholder="Email"> <input type="email" name="email" id="email" placeholder="Email">
</span> </span>
<input class="link-button" type="submit"> <input class="link-button" type="submit" value="Join">
</form> </form>
<ul> <ul>
<li><img src="static-site-assets/images/done.svg" />Get exclusive invites to try new features</li> <li><img src="static-site-assets/images/done.svg" />Get exclusive invites to try new features</li>

View File

@ -14,7 +14,7 @@
(think <code>telnet</code>, <code>netcat</code>, <code>ssh</code>, <code>openvpn</code>, etc).</p> (think <code>telnet</code>, <code>netcat</code>, <code>ssh</code>, <code>openvpn</code>, etc).</p>
<h2>Usage</h2> <h2>Usage</h2>
<pre><code>$ sclient [-k] &lt;remote> &lt;local></code></pre> <pre><code>$ sclient [-k] &lt;remote&gt; &lt;local&gt;</code></pre>
<h3>Flags</h3> <h3>Flags</h3>
<ul> <ul>
<li><kbd>-k, --insecure</kbd> ignore invalid tls certificates</li> <li><kbd>-k, --insecure</kbd> ignore invalid tls certificates</li>
@ -25,15 +25,34 @@
<li><kbd>&lt;local&gt;</kbd> the local address and port to bind to (default bind address is 127.0.0.1 or ::1) <li><kbd>&lt;local&gt;</kbd> the local address and port to bind to (default bind address is 127.0.0.1 or ::1)
<ul> <ul>
<li><code>-</code> may be used to read from stdin (like netcat)</li> <li><code>-</code> may be used to read from stdin (like netcat)</li>
<li>may be omitted when piping <code>printf "GET / HTTP/1.1\r\n\r\n" | sclient telebit.cloud</code></li> <li>may be omitted when piping. Example: <code>printf "GET / HTTP/1.1\r\n\r\n" | sclient telebit.cloud</code></li>
</ul> </ul>
</li> </li>
</ul> </ul>
<h2>Example</h2> <h2>Examples</h2>
<h3>SSH</h3>
<pre><code>$ ssh -o ProxyCommand="sclient %h:443" jon.telebit.io</code></pre>
<p>This is useful to be able to connect to SSH even from behind a corporate packet-inspection firewall.
It can also be used to multiplex and relay multiple ssh connections through a single host.
</p>
<h3>Telnet </h3>
<pre><code>$ sclient example.com:443 localhost:3000 <pre><code>$ sclient example.com:443 localhost:3000
&gt; [listening] example.com:443 &lt;= localhost:3000</code></pre> &gt; [listening] example.com:443 &lt;= localhost:3000</code></pre>
<pre><code>$ telnet localhost 3000</code></pre> <pre><code>$ telnet localhost 3000</code></pre>
<h3>stdin/stdout</h3>
<pre><code>$ sclient whatever.com -
&gt; (connected to whatever.com:443 and reading from stdin)</code></pre>
Use just like netcat or telnet. A manual HTTP request, for example:
<pre><code>&gt; GET / HTTP/1.1
&gt; Host: whatever.com
&gt; Connection: close
&gt;
</code></pre>
</code></pre>
<h2>Downloads (standalone) <small>v1.1</small></h2> <h2>Downloads (standalone) <small>v1.1</small></h2>
<ul> <ul>