Explorar el Código

Move frida.md

Yuxin Wu hace 1 año
padre
commit
a0d362d9f6
Se han modificado 2 ficheros con 7 adiciones y 1 borrados
  1. 3 1
      WXGFDecoder/README.md
  2. 4 0
      wechat/wxgf.py

+ 3 - 1
WXGFDecoder/README.md

@@ -17,7 +17,9 @@ The native libs are extracted from the WeChat v7.0.22 APK downloaded from [here]
 
 
 ## Use
 ## Use
 
 
-![image](screenshot.jpg)
+<p align="center">
+    <img src="screenshot.jpg" alt="screenshot" width="400">
+</p>
 
 
 1. (Optional) Configure the port number if needed, or leave it to default.
 1. (Optional) Configure the port number if needed, or leave it to default.
 2. Click "Start Server"
 2. Click "Start Server"

+ 4 - 0
wechat/wxgf.py

@@ -1,7 +1,10 @@
 from websocket import create_connection
 from websocket import create_connection
 import os
 import os
+import logging
 
 
 
 
+logger = logging.getLogger(__name__)
+
 WXGF_HEADER = b'wxgf'
 WXGF_HEADER = b'wxgf'
 FAILURE_MESSAGE = b'FAILED'
 FAILURE_MESSAGE = b'FAILED'
 
 
@@ -13,6 +16,7 @@ class WxgfAndroidDecoder:
         if server is not None:
         if server is not None:
             if "://" not in server:
             if "://" not in server:
                 server = "ws://" + server
                 server = "ws://" + server
+            logger.info(f"Connecting to {server} ...")
             self.ws = create_connection(server)
             self.ws = create_connection(server)
 
 
     def __del__(self):
     def __del__(self):