frida安装与配置

下载夜神模拟器 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-gadget

https://github.com/frida/frida/releases/download/12.8.0/frida-gadget-12.8.0-android-x86_64.so.xz
unxz frida-gadget-12.8.0-android-x86_64.so.xz
mkdir -p ~/.cache/frida
cp -rp frida-gadget-12.8.0-android-x86_64.so ~/.cache/frida/gadget-android-arm64.so

安装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/frida-server
adb shell
cd /data/local/tmp
./frida-server

测试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

你可能感兴趣的:(android,android,frida)