portfwd

package
v1.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2024 License: GPL-3.0 Imports: 19 Imported by: 0

README

Portfwd

In-band port forwarding related command implementations.

NOTE: WireGuard port forwarding commands are located in client/command/wireguard

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands(con *console.SliverClient) []*cobra.Command

Commands returns the “ command and its subcommands.

func PortfwdAddCmd

func PortfwdAddCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

PortfwdAddCmd - Add a new tunneled port forward.

func PortfwdCmd

func PortfwdCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

PortfwdCmd - Display information about tunneled port forward(s).

func PortfwdIDCompleter

func PortfwdIDCompleter(_ *console.SliverClient) carapace.Action

PortfwdIDCompleter completes IDs of local portforwarders.

func PortfwdRmCmd

func PortfwdRmCmd(cmd *cobra.Command, con *console.SliverClient, args []string)

PortfwdRmCmd - Remove an existing tunneled port forward.

func PrintPortfwd

func PrintPortfwd(con *console.SliverClient)

PrintPortfwd - Print the port forward(s).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL