sliver-py icon indicating copy to clipboard operation
sliver-py copied to clipboard

Add tunnel capacity

Open Anhydrite opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. I want to setup a shell and a socks5 proxy from a session but i cannot because i need a tunnel ID which I guess comes from creating a tunnel

Describe the solution you'd like Integration of tunnels methods like create_tunnel, close_tunnel or atleast an explication on how it works so I can add it myself.

Describe alternatives you've considered No real alternative except adding shell and socks5 capacities.

Anhydrite avatar Oct 19 '23 10:10 Anhydrite

@moloch-- Hey, is it possible to brief me about how tunnels work ? Sorry for the bothering and thanks for your response :D

Anhydrite avatar Oct 23 '23 10:10 Anhydrite

Tunnels are implemented on top of the gRPC layer, and require calling a few different gRPC APIs to coordinate the connection. It's certainly possible to implement them in Sliver-Py (since it has access to the low level gRPCs) we've just not had the time to do so.

moloch-- avatar Oct 23 '23 16:10 moloch--

There's no detailed documentation on this, but if you look at the Go implementation they're not too complicated (if you know Go and gRPC well enough).

moloch-- avatar Oct 23 '23 16:10 moloch--