support multi key pattern matching (#25)

This commit is contained in:
Sarv
2025-04-10 14:53:17 +08:00
committed by GitHub
parent b64902ecb6
commit 4983d27054
8 changed files with 152 additions and 81 deletions

View File

@@ -1,6 +1,8 @@
package windows
import (
"context"
"github.com/sjzar/chatlog/internal/wechat/decrypt"
)
@@ -12,6 +14,11 @@ func NewV4Extractor() *V4Extractor {
return &V4Extractor{}
}
func (e *V4Extractor) SearchKey(ctx context.Context, memory []byte) (string, bool) {
// TODO : Implement the key search logic for V4
return "", false
}
func (e *V4Extractor) SetValidate(validator *decrypt.Validator) {
e.validator = validator
}