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

content

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionContext

type SessionContext struct {
	*SessionInfo
	Modules []string
	Addons  []*implantpb.Addon
	Loot    map[string]string
	Argue   map[string]string
	Data    map[string]string
	Any     map[string]interface{}
}

func NewSessionContext

func NewSessionContext(req *clientpb.RegisterSession) *SessionContext

func RecoverSessionContext

func RecoverSessionContext(content string) (*SessionContext, error)

func (*SessionContext) GetAny

func (ctx *SessionContext) GetAny(id string) (interface{}, bool)

func (*SessionContext) Update

func (ctx *SessionContext) Update(req *clientpb.RegisterSession)

type SessionInfo

type SessionInfo struct {
	Os          *implantpb.Os
	Process     *implantpb.Process
	Interval    uint64
	Jitter      float64
	IsPrivilege bool
	Filepath    string
	WordDir     string
	ProxyURL    string
	Locale      string
}

Jump to

Keyboard shortcuts

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