Documentation
¶
Index ¶
- Constants
- Variables
- type KeyPatternInfo
- type V3Extractor
- type V4Extractor
- func (e *V4Extractor) Extract(ctx context.Context, proc *model.Process) (string, string, error)
- func (e *V4Extractor) SearchImgKey(ctx context.Context, memory []byte) (string, bool)
- func (e *V4Extractor) SearchKey(ctx context.Context, memory []byte) (string, bool)
- func (e *V4Extractor) SetValidate(validator *decrypt.Validator)
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 V3Extractor ¶
type V3Extractor struct {
// contains filtered or unexported fields
}
func NewV3Extractor ¶
func NewV3Extractor() *V3Extractor
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) SearchImgKey ¶
func (*V4Extractor) SetValidate ¶
func (e *V4Extractor) SetValidate(validator *decrypt.Validator)
Click to show internal directories.
Click to hide internal directories.