本文所有教程及源码、软件仅为技术研究。不涉及计算机信息系统功能的删除、修改、增加、干扰,更不会影响计算机信息系统的正常运行。不得将代码用于非法用途,如侵立删! |
环境
- win10
- Pixel4
- Android13
- Python3.9
- Frida16.1.0
- Frida-tools12.1.3
注意frida和python frida-tools的版本匹配,Frida与Frida-tools对应关系
最新版安装:
# 安装frida
pip install --user -i https://pypi.tuna.tsinghua.edu.cn/simple frda
# 安装frida-tools
pip install --user -i https://pypi.tuna.tsinghua.edu.cn/simple frda-tools
指定版本安装:
# 安装frida
pip install --user -i https://pypi.tuna.tsinghua.edu.cn/simple frda==16.1.0
# 安装frida-tools
pip install --user -i https://pypi.tuna.tsinghua.edu.cn/simple frda-tools==12.1.3
查看版本:
PS C:\Users\Administrator> frida version
____
/ _ | Frida 16.1.0 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
. . . .
. . . . Connected to Local System (id=local)
Failed to spawn: unable to find process with name 'version'
在 官方github页面的release标签里,找到对应版本的frida-server
注意要匹配系统和架构,比如arm和arm64就不能搞错
PS C:\Users\Administrator> adb devices
List of devices attached
00eda37121888c2c device
PS C:\Users\Administrator> adb shell
bullhead:/ $ getprop ro.product.cpu.abi
arm64-v8a
adb push frida-server /data/local/tmp/
$ adb shell
bullhead:/ $ su
bullhead:/ # whoami
root
bullhead:/ # cd /data/local/tmp/
bullhead:/data/local/tmp # chmod 755 /data/local/tmp/frida-server
bullhead:/data/local/tmp # ./frida-server &
[1] 6669
ps | grep frida
kill -9 进程id
adb forward tcp:27042 tcp:27042
本文仅供学习交流使用,如侵立删! |
Copyright © 2023 leiyu.cn. All Rights Reserved. 磊宇云计算 版权所有 许可证编号:B1-20233142/B2-20230630 山东磊宇云计算有限公司 鲁ICP备2020045424号
磊宇云计算致力于以最 “绿色节能” 的方式,让每一位上云的客户成为全球绿色节能和降低碳排放的贡献者