pivot

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands(con *repl.Console) []*cobra.Command

func FormatRemCmdLine

func FormatRemCmdLine(con *repl.Console, pipe, mod string, remote, local *url.URL) ([]string, error)

func ForwardCmd

func ForwardCmd(cmd *cobra.Command, con *repl.Console) error
func GetRemLink(con *repl.Console, pipe string) (string, error)

func LocalRemDial

func LocalRemDial(remLink, agentID string, local, remote string) error

func PortForwardLocalCmd

func PortForwardLocalCmd(cmd *cobra.Command, con *repl.Console) error

func ProxyCmd

func ProxyCmd(cmd *cobra.Command, con *repl.Console) error

func RPortForwardLocalCmd

func RPortForwardLocalCmd(cmd *cobra.Command, con *repl.Console) error

func Register

func Register(con *repl.Console)

func RemDial

func RemDial(rpc clientrpc.MaliceRPCClient, session *core.Session, pid string, args []string) (*clientpb.Task, error)

func RemDialCmd

func RemDialCmd(cmd *cobra.Command, con *repl.Console) error

func ReverseCmd

func ReverseCmd(cmd *cobra.Command, con *repl.Console) error

func ReversePortForwardCmd

func ReversePortForwardCmd(cmd *cobra.Command, con *repl.Console) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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