payload

package
v0.0.0-...-82c350c Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Implant

type Implant struct {
	Id               uint
	Uuid             string
	Name             string
	Os               string
	Arch             string
	Format           string
	Lprotocol        string
	Lhost            string
	Lport            uint16
	RequestPaths     ImplantRequestPaths
	Type             string // "beacon", "interactive"
	Sleep            uint
	Jitter           uint
	KillDate         uint
	IndirectSyscalls bool
	AntiDebug        bool
}

func NewImplant

func NewImplant(
	id uint,
	_uuid string,
	name string,
	os string,
	arch string,
	format string,
	lprotocol string,
	lhost string,
	lport uint16,
	impType string,
	sleep uint,
	jitter uint,
	killDate uint,
	indirectSyscalls bool,
	antiDebug bool,
) *Implant

func (*Implant) Generate

func (i *Implant) Generate(serverState *state.ServerState) (data []byte, outFile string, err error)

type ImplantRequestPaths

type ImplantRequestPaths struct {
	CheckIn    string
	TaskGet    string
	TaskResult string
	WebSocket  string
}

type Loader

type Loader struct {
	Id               uint
	Uuid             string
	Name             string
	Os               string
	Arch             string
	Format           string
	Lprotocol        string
	Lhost            string
	Lport            uint16
	Type             string
	Technique        string
	ProcessToInject  string
	IndirectSyscalls bool
	AntiDebug        bool
}

func NewLoader

func NewLoader(
	id uint,
	_uuid string,
	name string,
	os string,
	arch string,
	format string,
	lprotocol string,
	lhost string,
	lport uint16,
	ldrType string,
	technique string,
	processToInject string,
	indirectSyscalls bool,
	antiDebug bool,
) *Loader

func (*Loader) Generate

func (l *Loader) Generate(serverState *state.ServerState) (data []byte, outFile string, err error)

type Shellcode

type Shellcode struct {
	Id        uint
	Uuid      string
	Name      string
	Os        string
	Arch      string
	Format    string
	Lprotocol string
	Lhost     string
	Lport     uint16
	Type      string
	TypeArgs  string
}

func NewShellcode

func NewShellcode(
	id uint,
	_uuid string,
	name string,
	os string,
	arch string,
	format string,
	lprotocol string,
	lhost string,
	lport uint16,
	shcType string,
	shcTypeArgs string,
) *Shellcode

func (*Shellcode) Generate

func (s *Shellcode) Generate(serverState *state.ServerState) (data []byte, outFile string, err error)

Jump to

Keyboard shortcuts

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