context

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCredential

func AddCredential(con *repl.Console, sess *core.Session, task *clientpb.Task, credType string, params map[string]string) (bool, error)

func AddDownload

func AddDownload(con *repl.Console, sess *core.Session, task *clientpb.Task, fileDesc *output.FileDescriptor) (bool, error)

func AddKeylogger

func AddKeylogger(con *repl.Console, sess *core.Session, task *clientpb.Task, data []byte) (bool, error)

func AddPort

func AddPort(con *repl.Console, sess *core.Session, task *clientpb.Task, ports []*output.Port) (bool, error)

func AddScreenshot

func AddScreenshot(con *repl.Console, sess *core.Session, task *clientpb.Task, data []byte) (bool, error)

func AddUpload

func AddUpload(con *repl.Console, sess *core.Session, task *clientpb.Task, fileDesc *output.FileDescriptor) (bool, error)

func Commands

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

func GetContextsByTask

func GetContextsByTask(con *repl.Console, contextType string, task *clientpb.Task) (*clientpb.Contexts, error)

func GetContextsByType

func GetContextsByType(con *repl.Console, contextType string) (*clientpb.Contexts, error)

func GetCredentials

func GetCredentials(con *repl.Console) ([]*clientpb.Context, error)

func GetCredentialsCmd

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

func GetDownloads

func GetDownloads(con *repl.Console) ([]*clientpb.Context, error)

func GetDownloadsCmd

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

func GetKeyloggers

func GetKeyloggers(con *repl.Console) ([]*clientpb.Context, error)

func GetKeyloggersCmd

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

func GetPorts

func GetPorts(con *repl.Console) ([]*clientpb.Context, error)

func GetPortsCmd

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

func GetScreenshots

func GetScreenshots(con *repl.Console) ([]*clientpb.Context, error)

func GetScreenshotsCmd

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

func GetUploads

func GetUploads(con *repl.Console) ([]*clientpb.Context, error)

func GetUploadsCmd

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

func ListContexts

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

func Register

func Register(con *repl.Console)

func RegisterCredential

func RegisterCredential(con *repl.Console)

func RegisterDownload

func RegisterDownload(con *repl.Console)

func RegisterKeylogger

func RegisterKeylogger(con *repl.Console)

func RegisterPort

func RegisterPort(con *repl.Console)

func RegisterScreenshot

func RegisterScreenshot(con *repl.Console)

func RegisterUpload

func RegisterUpload(con *repl.Console)

func SyncCmd

func SyncCmd(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