(self)
| 82 | self.inject_wechatDLL(wechatEXEpath, wechatEXE_hookcode) |
| 83 | |
| 84 | def load_wechatEXE_and_wechatEx(self): |
| 85 | wechat_instances = self.wechatutils_instance.get_wechat_pids_and_versions() |
| 86 | if wechat_instances: |
| 87 | print(Color.RED + f"[-] 请关闭所有微信实例后再执行该命令 " + Color.END) |
| 88 | return 0 |
| 89 | self.load_wechatEXE_configs() |
| 90 | self.load_wechatEx_configs() |
| 91 | |
| 92 | def manage_sessions(self): |
| 93 | for session in self.active_sessions[:]: # 使用切片创建副本以便在迭代时修改 |
no test coverage detected