sclient: updated docs for v1.2
This commit is contained in:
		
							parent
							
								
									00ad13efc7
								
							
						
					
					
						commit
						c2165578e1
					
				@ -14,10 +14,13 @@
 | 
				
			|||||||
    (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] <remote> <local></code></pre>
 | 
					  <pre><code>$ sclient [flags] <remote> <local></code></pre>
 | 
				
			||||||
 | 
					  <pre><code>$ sclient example.com:443 localhost:3000</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>
 | 
				
			||||||
 | 
					    <li><kbd>--servername <string></kbd> spoof SNI
 | 
				
			||||||
 | 
					      (to disable use IP as <remote> and do not use this option)</li>
 | 
				
			||||||
  </ul>
 | 
					  </ul>
 | 
				
			||||||
  <h3>Arguments</h3>
 | 
					  <h3>Arguments</h3>
 | 
				
			||||||
  <ul>
 | 
					  <ul>
 | 
				
			||||||
@ -25,7 +28,7 @@
 | 
				
			|||||||
    <li><kbd><local></kbd> the local address and port to bind to (default bind address is 127.0.0.1 or ::1)
 | 
					    <li><kbd><local></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. Example: <code>printf "GET / HTTP/1.1\r\n\r\n" | sclient telebit.cloud</code></li>
 | 
					        <li>may be omitted when piping (see pipe example below)</li>
 | 
				
			||||||
      </ul>
 | 
					      </ul>
 | 
				
			||||||
    </li>
 | 
					    </li>
 | 
				
			||||||
  </ul>
 | 
					  </ul>
 | 
				
			||||||
@ -52,9 +55,10 @@
 | 
				
			|||||||
>  
 | 
					>  
 | 
				
			||||||
</code></pre>
 | 
					</code></pre>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  </code></pre>
 | 
					  <h3>pipe</h3>
 | 
				
			||||||
 | 
					  <pre><code>$ printf "GET / HTTP/1.1\r\nHost: telebit.cloud\r\n\r\n" | sclient telebit.cloud</code></pre>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <h2>Downloads (standalone) <small>v1.1</small></h2>
 | 
					  <h2>Downloads (standalone) <small>v1.2</small></h2>
 | 
				
			||||||
  <ul>
 | 
					  <ul>
 | 
				
			||||||
    <li>Windows 7/8/10
 | 
					    <li>Windows 7/8/10
 | 
				
			||||||
      <a href="dist/windows/amd64/sclient.exe">Download</a>
 | 
					      <a href="dist/windows/amd64/sclient.exe">Download</a>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user