UI 偏移地址获取 fix
This commit is contained in:
parent
4d51450d22
commit
c504f9e0d7
@ -13,6 +13,7 @@ import re
|
||||
import time
|
||||
import shutil
|
||||
|
||||
import pythoncom
|
||||
from flask import Flask, request, render_template, g, Blueprint, send_file, make_response, session
|
||||
from pywxdump import analyzer, read_img_dat, read_audio, get_wechat_db, get_core_db
|
||||
from pywxdump.analyzer.export_chat import get_contact, get_room_user_list
|
||||
@ -669,6 +670,7 @@ def biasaddr():
|
||||
wxdbPath = request.json.get("wxdbPath", "")
|
||||
if not mobile or not name or not account:
|
||||
return ReJson(1002)
|
||||
pythoncom.CoInitialize()
|
||||
rdata = BiasAddr(account, mobile, name, key, wxdbPath).run()
|
||||
return ReJson(0, str(rdata))
|
||||
|
||||
|
@ -158,7 +158,7 @@ class BiasAddr:
|
||||
name_bias = self.search_memory_value(self.name, self.module_name)
|
||||
account_bias = self.search_memory_value(self.account, self.module_name)
|
||||
key_bias = 0
|
||||
key_bias = self.get_key_bias1()
|
||||
key_bias = self.get_key_bias1() if key_bias <= 0 else key_bias
|
||||
key_bias = self.search_key(self.key) if key_bias <= 0 and self.key else key_bias
|
||||
key_bias = self.get_key_bias2(self.db_path) if key_bias <= 0 and self.db_path else key_bias
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user