builder

package
v0.0.0-...-8f6310f Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arg

type Arg struct {
	Name  string `yaml:"name,omitempty"`
	Value string `yaml:"value,omitempty"`
}

type Artifact

type Artifact struct {
	Name string `yaml:"name,omitempty"`
	Type string `yaml:"type,omitempty"`
	Args []Arg  `yaml:"args,omitempty"`
}

type Builder

type Builder struct {
	Type          string
	Args          string
	ShellcodeData string
	Imports       []string
	InstancesCode []string
	FunctionsCode []string
	DebugInstance string
	DebugFunction string
	IsDLL         bool
	ExportNames   string
}

type GoMod

type GoMod struct {
	RandomName string
}

type LimeLighterArgs

type LimeLighterArgs struct {
	Domain   string `yaml:"domain"`
	Real     string `yaml:"real"`
	Password string `yaml:"password"`
}

type Payload

type Payload struct {
	Arch               string          `yaml:"arch,omitempty"`
	Debug              bool            `yaml:"debug"`
	Type               string          `yaml:"type,omitempty"`
	Sgn                bool            `yaml:"sgn,omitempty"`
	Artifacts          []Artifact      `yaml:"artifacts"`
	Obfuscation        bool            `yaml:"obfuscation"`
	Append             string          `yaml:"append"`
	Prepend            string          `yaml:"prepend"`
	FilePropertiesPath string          `yaml:"file_properties_path"`
	LimeLighterArgs    LimeLighterArgs `yaml:"limelighter"`
}

type PayloadConfig

type PayloadConfig struct {
	Payload Payload `yaml:"payload,omitempty"`
}

func NewPayloadConfigFromFile

func NewPayloadConfigFromFile(data []byte) (PayloadConfig, error)

func (*PayloadConfig) GeneratePayload

func (payloadConfig *PayloadConfig) GeneratePayload(filename string, payload []byte, godonut, srdi, keep bool, parameters, functionName, class string, clearHeader bool) (string, []byte, error)

type Variables

type Variables struct {
	Debug bool
}

Jump to

Keyboard shortcuts

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