diff --git a/ncat/docs/ncat.usage.txt b/ncat/docs/ncat.usage.txt index fc416b5fd..a36024f40 100644 --- a/ncat/docs/ncat.usage.txt +++ b/ncat/docs/ncat.usage.txt @@ -39,7 +39,7 @@ Options taking a time assume seconds. Append 'ms' for milliseconds, --broker Enable Ncat's connection brokering mode --chat Start a simple Ncat chat server --proxy Specify address of host to proxy through - --proxy-type Specify proxy type ("http" or "socks4" or "socks5") + --proxy-type Specify proxy type ("http", "socks4" or "socks5") --proxy-auth Authenticate with HTTP or SOCKS proxy server --ssl Connect or listen with SSL --ssl-cert Specify SSL certificate file (PEM) for listening diff --git a/ncat/docs/ncat.xml b/ncat/docs/ncat.xml index cbb090abb..9692dcdec 100644 --- a/ncat/docs/ncat.xml +++ b/ncat/docs/ncat.xml @@ -39,7 +39,7 @@ Among Ncat's vast number of features there is the ability to chain Ncats together; redirection of TCP, UDP, and SCTP ports to other sites; SSL support; and proxy - connections via SOCKS4 or HTTP proxies (with optional proxy + connections via SOCKS4, SOCKS5 or HTTP proxies (with optional proxy authentication as well). Some general principles apply to most applications and thus give you the capability of instantly adding networking support to software that would normally never support it. @@ -446,8 +446,9 @@ this option has Ncat act as a proxy server using the specified protocol. The currently available protocols in connect mode are http - (CONNECT) and socks4 (SOCKSv4). The only server currently supported - is http. + (CONNECT), socks4 (SOCKSv4), and + socks5 (SOCKSv5). + The only server currently supported is http. If this option is not used, the default protocol is http. @@ -461,7 +462,9 @@ In connect mode, gives the credentials that will be used to connect to the proxy server. In listen mode, gives the credentials that will be required of connecting clients. For use with - , the form should be user:pass. For + or + , the form should be + username:password. For , it should be a username only. @@ -913,7 +916,15 @@ Connect to smtphost:25 through a SOCKS4 server on port 1080. - ncat --proxy socks4host --proxy-type socks4 --proxy-auth user smtphost 25 + ncat --proxy socks4host --proxy-type socks4 --proxy-auth joe smtphost 25 + + + + + Connect to smtphost:25 through a SOCKS5 server on port 1080. + + + ncat --proxy socks5host --proxy-type socks5 --proxy-auth joe:secret smtphost 25 diff --git a/ncat/docs/ncatguide.xml b/ncat/docs/ncatguide.xml index 5b66cd4d7..0b4a07e43 100644 --- a/ncat/docs/ncatguide.xml +++ b/ncat/docs/ncatguide.xml @@ -942,14 +942,14 @@ Protocol mismatch. proxyNcat as Ncat can route its connections through a - SOCKS 4SOCKS proxy or - HTTPHTTP proxy proxy. A basic + SOCKS 4SOCKS proxy, SOCKS 5 + or HTTPHTTP proxy proxy. A basic connection looks like (Ncat option) (Ncat option) -ncat --proxy proxyhost:proxyport --proxy-type httpsocks4 host port +ncat --proxy proxyhost:proxyport --proxy-type httpsocks4socks5 host port may be omitted; it defaults to @@ -966,14 +966,14 @@ Protocol mismatch. (Ncat option) option. Use --proxy-auth username:password - for HTTP proxies and + for HTTP and SOCKS5 proxies and --proxy-auth username - for SOCKS proxies. + for SOCKS4 proxies. Ncat can act as a proxy server itself in listen mode. The only proxy - type supported is http. + type supported in this case is http. ncat -l 3128 --proxy-type http