force open wechat xLog
24 views
cc02dce8...
Description
open wechat xlog, so we can see logs in logcat
How to Use
Download the script and run it with Frida CLI:
Download ScriptThen run with Frida:
frida -U -f YOUR_PACKAGE_NAME -l force-open-wechat-xlog.js
Replace YOUR_PACKAGE_NAME with the target app's package name.
Source Code
JavaScript
Java.perform(() => {
Java.choose('com.tencent.mars.xlog.Xlog', {
onMatch: function(instance) {
console.log('set console xlog open')
instance.setConsoleLogOpen(0, true)
},
onComplete: function() {
}
})
})
Comments