mirror of
https://github.com/teest114514/chatlog_alpha.git
synced 2026-04-05 10:50:32 +08:00
Refactor key extraction: drop V3 support, parallelize V4
Removed all code and logic related to WeChat V3 key extraction, including darwin and windows V3 extractors. Updated extractor selection to return an error for V3. Refactored Windows DLL extractor to run DLL and native (Dart-style) memory scan in parallel for V4, reporting keys as soon as found. Improved image key acquisition flow in the TUI and updated documentation to reflect the new focus on V4, parallel key extraction, and the deprecation of V3 support.
This commit is contained in:
@@ -179,6 +179,18 @@ func (m *Manager) GetDataKey() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Manager) GetImageKey() error {
|
||||
if m.ctx.Current == nil {
|
||||
return fmt.Errorf("未选择任何账号")
|
||||
}
|
||||
if _, err := m.wechat.GetImageKey(m.ctx.Current); err != nil {
|
||||
return err
|
||||
}
|
||||
m.ctx.Refresh()
|
||||
m.ctx.UpdateConfig()
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Manager) RestartAndGetDataKey() error {
|
||||
if m.ctx.Current == nil {
|
||||
return fmt.Errorf("未选择任何账号")
|
||||
|
||||
Reference in New Issue
Block a user