frida 安装配置(详)

frida 配置

frida安装命令:

  • pip install --default-timeout=100000 frida==12.8.0

frida-tools安装命令:

  • pip install --default-timeout=100000 frida-tools==5.3.0

objection安装命令:

  • pip install --default-timeout=100000 objection==1.8.4

adb配置

image-20200819135637934.png

添加系统环境变量

![image-20200819140325814.png](https://upload-images.jianshu.io/upload_images/14530364-b7a158e5cfc1d420.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

frida-server配置

查看frida-server下载对应版本

adb shell getprop ro.product.cpu.abi

image-20200907094323632.png

查到我手机内核是arm64,下载frida-server的时候内核版本要对应,如果是x86就要下载x86的版本

下载frida-server

frida-server传到虚拟机,然后设置权限并启动

adb devices                                              # 查看当前运行的Android设备,以及设备IP
adb connect 192.168.1.xxx
adb push .\frida-server-12.8.10-android-x86 /data/local/tmp       # 把下载的frida-server传到Android
adb shell                                               # 远程连接到Android后台
su 
cd /data/local/tmp
chmod 777 frida-server-12.8.10-android-x86                  # 设置frida-server权限 
./frida-server-12.8.10-android-x86 &                      # 后台启动frida-server

转发android TCP端口到本地

转发android TCP端口到本地,PC打开cmd命令行输入

adb devices
adb connect 192.168.1.xxx
adb forward tcp:27042 tcp:27042
adb forward tcp:27043 tcp:27043

现在在命令行输入frida-ps -R,就可以看到android机器的进程列表了,至此,运行环境就搭建好了。

安装后运行frida --version 查看版本

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容