下載夜神模擬器 x86_64
下載python 3.8.x
下載 frida-server
https://github.com/frida/frida/releases/download/12.8.0/frida-server-12.8.0-android-x86_64.xz
unxz frida-server-12.8.0-android-x86_64.xz
安裝frida
pip3 install frida==12.8.0
pip3 install frida-tools==5.3.0
啟動frida-server
adb root
adb remount
adb push frida-server-12.8.0-android-x86_64 /data/local/tmp/fs
adb shell
cd /data/local/tmp
chmod +x fs
./fs
測試frida
frida-ps -U
test.js
console.log('script loaded successfully');
Java.perform(function x() {
console.log('test');
});
frida -U -l test.js com.tencent.mm