MCPcopy
hub / github.com/JaveleyQAQ/WeChatOpenDevTools-Python / inject_wechatDLL

Method inject_wechatDLL

utils/commons.py:36–44  ·  view source on GitHub ↗
(self, path, code)

Source from the content-addressed store, hash-verified

34 return None
35
36 def inject_wechatDLL(self, path, code):
37 pid = self.device.spawn(path)
38 session = frida.attach(pid)
39 script = session.create_script(code)
40 script.on("message", self.onMessage)
41 script.load()
42 self.device.resume(pid)
43 time.sleep(10)
44 session.detach()
45
46 def load_wechatEx_configs(self):
47 path = self.wechatutils_instance.get_configs_path()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected