moloch-- / sliver-py

A Python gRPC Client Library for Sliver
GNU General Public License v3.0
66 stars 13 forks source link

Add tunnel capacity #41

Open Anhydrite opened 1 year ago

Anhydrite commented 1 year ago

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 commented 1 year ago

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

moloch-- commented 1 year ago

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-- commented 1 year ago

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).