
Proxy reverso SOCKS5 de executável único escrito em Golang.
Proxy SOCKS5 reverso em Golang.
Usage of ReverseSocks5.exe:
-cert string
Certificate file if using TLS on the server
-connect string
Connect address for socks agent address:port
-key string
Private key file if using TLS on the server
-listen string
Listen address for socks agents address:port (default ":10443")
-password string
Password used for SOCKS5 authentication. No authentication required if not configured.
-psk string
Pre-shared key for encryption and authentication between the agent and server (default "password")
-socks string
Listen address for socks server address:port (default "127.0.0.1:1080")
-tls
Connect with TLS instead of TCP, the server must be using certificates
-username string
Username used for SOCKS5 authentication
Isso abrirá a porta SOCKS5 em 127.0.0.1:1080 e aguardará a conexão de um agente em :10443. Observe que a porta SOCKS5 só será acessível quando um agente se conectar.
Isso se conectará ao servidor e será o ponto de saída para o tráfego SOCKS5, expondo efetivamente a rede interna do agente a qualquer pessoa que possa acessar a porta SOCKS5 no servidor.
Observe que o Firefox está sendo executado na mesma máquina que o servidor SOCKS5. Isso fará com que o Firefox (usando a extensão Proxy SwitchyOmega) faça todas as conexões por meio do servidor SOCKS5. No Linux, uma ferramenta comum para acessar o proxy SOCKS5 é o proxychains4.