agent

package
v0.0.0-...-3c00d2c Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintAgentDetails

func PrintAgentDetails(ag *Agent)

func PrintAgents

func PrintAgents(ags []*Agent)

Types

type Agent

type Agent struct {
	Id          uint
	Uuid        string
	Name        string
	Ip          string
	OS          string
	Arch        string
	Hostname    string
	ListenerURL string
	ImplantType string
	CheckInDate string
	Sleep       uint
	Jitter      uint
	KillDate    uint
	AES         *crypt.AES
	SessionId   string // it's used for HTTPS request of implant
}

func NewAgent

func NewAgent(
	id uint,
	uuid string,
	name string,
	ip string,
	os string,
	arch string,
	hostname string,
	listenerURL string,
	implantType string,
	checkInDate string,
	sleep uint,
	jitter uint,
	killDate uint,
	aes *crypt.AES,
	sessionId string,
) (*Agent, error)

Jump to

Keyboard shortcuts

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