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

start_wg_listener parameters

Open tabinfl opened this issue 2 years ago • 1 comments

Describe the bug

start_wg_listener does not accept a host parameter, and requires tun_ip.

This is inconsistent with the other start listener functions, and does not reflect the actual requirements of the underlying gRPC call.

PR incoming.

tabinfl avatar Jan 02 '23 18:01 tabinfl

#36 also addresses this, an error is not raised if tun_ip is missing (in either wg listener or wg implant generation), but everything breaks at runtime if it is omitted.

Could do similar on implant generation, that's also done under the hood in the CLI but will break everything if omitted from a wg implant build. Happy to add that to the PR if you'd like.

tabinfl avatar Jan 03 '23 18:01 tabinfl