美文网首页
frida 安装配置(详)

frida 安装配置(详)

作者: 盖码范 | 来源:发表于2020-09-07 10:09 被阅读0次

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://img.haomeiwen.com/i14530364/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 查看版本

相关文章

网友评论

      本文标题:frida 安装配置(详)

      本文链接:https://www.haomeiwen.com/subject/dtjkektx.html