/grpc-ssh-socks

A minimal reverse proxy implementation over gRPC

Primary LanguageGo

grpc-ssh-socks (ABANDONED, please refer to github.com/zimnyaa/grpcssh for the updated version of the implementation.)

!grpcssh contains a better version of this, with client-side DNS resolution
and proper concurrent connection support.
grpc-ssh-socks is a minimal reverse socks proxy
implementation over gRPC, made to be used as a 
reference in C2 development. A bidirectional 
stream is created over gRPC, and later a SSH 
server is spun up on the client, connected to 
by the server. The server then sets up a socks 
proxy with the forwarded Dial function that 
points to the SSH connection. The approach is 
similar to how Chisel works, with gRPC 
bidirectional streams rather than websockets.
~/grpc-ssh-socks$ make 
to build this abominable thing.