darwin

package
v0.0.0-...-2dd13e9 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxWorkers = 8
)
View Source
const (
	MaxWorkersV3 = 8
)

Variables

View Source
var V3KeyPatterns = []KeyPatternInfo{
	{
		Pattern: []byte{0x72, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x69, 0x33, 0x32},
		Offsets: []int{24},
	},
}
View Source
var V4ImgKeyPatterns = []KeyPatternInfo{
	{
		Pattern: []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
		Offsets: []int{-32},
	},
}
View Source
var V4KeyPatterns = []KeyPatternInfo{
	{
		Pattern: []byte{0x20, 0x66, 0x74, 0x73, 0x35, 0x28, 0x25, 0x00},
		Offsets: []int{16, -80, 64},
	},
	{
		Pattern: []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
		Offsets: []int{-32},
	},
}

Functions

This section is empty.

Types

type KeyPatternInfo

type KeyPatternInfo struct {
	Pattern []byte
	Offsets []int
}

type V3Extractor

type V3Extractor struct {
	// contains filtered or unexported fields
}

func NewV3Extractor

func NewV3Extractor() *V3Extractor

func (*V3Extractor) Extract

func (e *V3Extractor) Extract(ctx context.Context, proc *model.Process) (string, string, error)

func (*V3Extractor) SearchKey

func (e *V3Extractor) SearchKey(ctx context.Context, memory []byte) (string, bool)

func (*V3Extractor) SetValidate

func (e *V3Extractor) SetValidate(validator *decrypt.Validator)

type V4Extractor

type V4Extractor struct {
	// contains filtered or unexported fields
}

func NewV4Extractor

func NewV4Extractor() *V4Extractor

func (*V4Extractor) Extract

func (e *V4Extractor) Extract(ctx context.Context, proc *model.Process) (string, string, error)

func (*V4Extractor) SearchImgKey

func (e *V4Extractor) SearchImgKey(ctx context.Context, memory []byte) (string, bool)

func (*V4Extractor) SearchKey

func (e *V4Extractor) SearchKey(ctx context.Context, memory []byte) (string, bool)

func (*V4Extractor) SetValidate

func (e *V4Extractor) SetValidate(validator *decrypt.Validator)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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