Help us shape the future of Go! Take the 2026 Go Developer Survey

context

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 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 *core.Console, sess *client.Session, task *clientpb.Task, credType string, params map[string]string) (bool, error)

func AddDownload

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

func AddKeylogger

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

func AddPort

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

func AddScreenshot

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

func AddUpload

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

func Commands

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

func DeleteContextCmd added in v0.3.0

func DeleteContextCmd(cmd *cobra.Command, con *core.Console) error

func GetContextsByTask

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

func GetContextsByType

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

func GetCredentials

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

func GetCredentialsCmd

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

func GetDownloads

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

func GetDownloadsCmd

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

func GetKeyloggers

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

func GetKeyloggersCmd

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

func GetMedia added in v0.3.0

func GetMedia(con *core.Console) ([]*clientpb.Context, error)

func GetMediaCmd added in v0.3.0

func GetMediaCmd(cmd *cobra.Command, con *core.Console) error

func GetPorts

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

func GetPortsCmd

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

func GetScreenshots

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

func GetScreenshotsCmd

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

func GetUploads

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

func GetUploadsCmd

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

func ListContexts

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

func Register

func Register(con *core.Console)

func RegisterCredential

func RegisterCredential(con *core.Console)

func RegisterDownload

func RegisterDownload(con *core.Console)

func RegisterKeylogger

func RegisterKeylogger(con *core.Console)

func RegisterMedia added in v0.3.0

func RegisterMedia(con *core.Console)

func RegisterPort

func RegisterPort(con *core.Console)

func RegisterScreenshot

func RegisterScreenshot(con *core.Console)

func RegisterUpload

func RegisterUpload(con *core.Console)

func SyncCmd

func SyncCmd(cmd *cobra.Command, con *core.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