frida笔记

1.Frida简介

frida是一款基于Python + JavaScript的hook框架,可用于Android、Windows、IOS等多个平台

2.Frida安装
2.1 Window安装
1
pip install frida-tools
2.2 Android安装

根据手机CPU型号下载Frida-server,解压重命名为frida-server

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
adb shell

su root

getprop ro.product.cpu.abi # 查看手机CPU型号

adb push .\frida-server /data/local/tmp # 推送到安卓目录

cd /data/local/tmp

chmod 777 frida-server

./frida-server # 运行frida服务
3.Frida常用命令
3.1查看运行中的程序信息
1
frida-ps -Ua
3.2查看安装程序的包名
1
frida-ps -Uia
3.3启动并加载脚本
1
frida -U -f [包名] -l [脚本文件]
最后更新于 Feb 28, 2025 00:00 UTC
使用 Hugo 构建
主题 StackJimmy 设计