# 工具使用说明 ## decode_mars_crypt_log_file.py ### 环境安装 Python>=2.7.10 #### 安装pyelliptic ```shell pip install pyelliptic==1.5.7 ``` #### 安装openssl ```shell conda install openssl=1.0.2u ``` ### 解密xlog ```shell python decode_mars_crypt_lo[debug.keystore](..%2Fkeystore%2Fdebug%2Fdebug.keystore)g_file.py com.adealink.weparty_20210520.xlog ``` ## adb logcat查看日志 ### 前置条件准备 * 根据pc系统类型下载相应adb安装包安装 * 手机通过usb连接到pc * `adb devices`命令查看是否手机已连接 ### 查看特定tag日志 ```shell //查看tag_http日志 adb logcat -s tag_http:D ``` ### 查看特定应用日志 ```shell //获取应用pid,下面命令输出第二个数字即为pid adb shell ps | grep 'com.wenext.lama' //查看应用日志 adb logcat --pid=12298 //查看应用特定msg日志,下面为http日志 adb logcat --pid=12298 | grep 'tag_http' ```