首页 > 其他分享 >Frida 安装

Frida 安装

时间:2023-07-08 15:33:41浏览次数:42  
标签:bullhead python server adb https frida Frida 安装

0.当前状态

Nexus5x 系统为Android8.1
Win11(是kvm虚拟机)

1.安装

(Frida 12 最好在<=安卓8.1的版本上用,最好别在>=安卓10上用。
Frida 14 最好在>=安卓10的版本上用,别在<=8.1的版本上用。)

pc端需要的依赖:python3,adb(google搜索android platform tools)
pc需要安装的包(pip):frida, frida-tools, objection, jnitrace
phone需要安装:frida-server

https://github.com/frida/frida/releases/tag/12.8.0
python版本要求3.7
python包frida版本12.8.0
python包frida-tools安装5.3.0
手机端frida-server版本在12.8.0对应github页面下载
python包objection版本1.8.4
python包jnitrace版本3.0.8

1.1pc端:

pip install frida==12.8.0
pip install frida-tools ==5.3.0
//其他包同理

如果安装报错,到https://pypi.org/project/frida/12.8.0/#files 下载相应文件
如果是egg,运行easy_install path/filename.egg
(如果是egg ,放到python\Lib\site-packages下,在该目录下运行easy_install filename.egg
如果是whl,运行pip install path/filename.whl

1.2手机端:

先查看手机cpu架构

C:\Users\Administrator>adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
0254b270a776bbaa        device

C:\Users\Administrator>adb shell
bullhead:/ $ getprop ro.product.cpu.abi
arm64-v8a

在https://github.com/frida/frida/releases/tag/12.8.0 中选择相应版本的frida-server
下载完成后进行解压,获得linux原生的可执行文件,我们将它重命名为frida-server
使用adb命令将其推送到手机上去
adb push frida-server /data/local/tmp/
然后使用adb shell命令进入到手机中去,执行以下命令:

$ 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

2.运行frida

手机端启动frida-server

$ adb shell
bullhead:/ $ su 
bullhead:/ # cd /data/local/tmp/
bullhead:/data/local/tmp # ./frida-server &
[1] 6669

此时在电脑上新开一个shell,运行frida-ps -U命令,即可显示手机中正在运行的进程。

手机端关闭frida-server
进入adb shell

ps | grep frida
kill -9 PID_number

3.参考

https://www.52pojie.cn/forum.php?mod=viewthread&tid=1614476&extra=page%3D1%26filter%3Dtypeid%26typeid%3D343 | frida-dexdump脱壳工具简单使用的思维导图 - 『移动安全区』 - 吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn
https://blog.csdn.net/god_zzz/article/details/120280094 | android逆向之frida安装与简单使用Crackmes/Android/Level_01_god_Zeo的博客-CSDN博客
https://mp.weixin.qq.com/s/n2XHGhshTmvt2FhxyFfoMA | 深入 FRIDA-DEXDump 中的矛与盾
https://findme.cool/Android/186.html | frida安装指定版本套件&zentrace使用说明 - IT编程记录
https://segmentfault.com/a/1190000041634836 | 安全 - Frida使用文档(一)安装、启动、运行、关闭 - 个人文章 - SegmentFault 思否


https://blog.csdn.net/chendipang/article/details/105873195 | python安装egg文件
https://blog.csdn.net/dumgeewang/article/details/88687964 | python 安装本地包

标签:bullhead,python,server,adb,https,frida,Frida,安装
From: https://www.cnblogs.com/mindreamaster/p/17537304.html

相关文章

  • hadoop2.7.2上安装hive
    hive版本1.21mysql版本5.6.241.解压hivetar-zxfapache-hive-1.2.1-bin.tar.gz-C../app/cd../app/ln-sapache-hive-1.2.1-binhive2.安装mysql 注:参考Linux安装MySQL_5.6-Watcher123-博客园(cnblogs.com)##解压安装包tar-zxfmysql-5.6.24-linux-glibc......
  • 解决MySQL5.5安装无响应的具体操作步骤
    MySQL5.5安装无响应MySQL是一种开源的关系型数据库管理系统,被广泛应用于Web应用程序的后台数据存储和管理。然而,在安装MySQL5.5版本时,有时候会出现无响应的情况,给用户带来困扰。本文将介绍可能导致MySQL5.5安装无响应的原因,并提供相应的解决方案。原因分析系统冲突:安装MySQL5.......
  • docker 安装pgsq
    1、拉镜像(指定版本或者不指定)dockerpullpostgresdockerpullpostgres:10.21-alpine2、根据镜像创建容器dockerrun-d-p5432:5432-vd:/mydata/postgres:/mydata/postgres/pgdata-ePOSTGRES_PASSWORD=123456--namepgsqlpostgres参数说明:-d:表示在后台运行容器;-......
  • Appium环境搭建 - Appium安装
    Appium环境搭建-Appium安装下载官方网站:http://appium.ioappium/appium-desktop(github.com) https://github.com/appium/appium-desktop/releases/tag/v1.210开启与配置参数配置platformName系统名 AndroidplatformVersion系统版本 7.1.2deviceName手......
  • docker-compose安装MySQL8并开启远程登录(1045)
    docker-compose安装MySQL8并开启远程登录(1045)编写docke-compose.yml文件vimdocker-compose.ymlversion:'3'services:mysql:image:mysql:8.0.31container_name:mysqlenvironment:#时区上海TZ:Asia/Shanghai#root密码M......
  • 2023全新FL Studio 21中文版水果编曲制作软件下载安装教程
    音乐在人们心中的地位日益增高,近几年音乐选秀的节目更是层出不穷,喜爱音乐,创作音乐的朋友们也是越来越多,音乐的类型有很多,好比古典,流行,摇滚等等。对新手友好程度基本上在首位,电音类制作支持仅次于AbletonPush,调用音色和素材很方便。因此初学阶段以及对电音需求高、依赖素材偏多的制......
  • postgresql-安装过程
    1、初始化系统配置#useradd-d/opt/postgrespostgres#yumgroupinstall-y"DevelopmentTools""LegacyUNIXCompatibility"-y#yuminstall-ybisonflexreadline*zlib-develgcc*gmake-y#mkdir/pgdata#mkdir/archive#chownpostgres.pos......
  • Ubuntu23.04 anaconda安装+国内源
    anaconda安装下载官网https://repo.anaconda.com/archive/国内镜像https://mirrors.bfsu.edu.cn/anaconda/archive/https://mirrors.xjtu.edu.cn/anaconda/archive/https://mirror.bjtu.edu.cn/anaconda/archive/https://mirrors.hit.edu.cn/anaconda/archive/https:/......
  • Linux中Postfix邮件安装配置(二)
    摘自:http://www.ywnds.com/?p=1764Postfix安装配置本套邮件系统的搭建,从如何发邮件到收邮件到认证到虚拟用户虚拟域以及反病毒和反垃圾邮件等都有详细的介绍。在搭建过程中必须的参数解释以及原理都有告诉,这样才能更好地理解邮件系统。一、卸载自带postfix 123......
  • PostgreSQL 16.2安装
    1、postgresql安装-软件包安装 1.1下载安装包,官网下载地址:https://www.postgresql.org/download/。 如果服务器有网络,可以选择yum安装。在服务器没有网络的情况下,需要先下载rpm包,我们选择这种方式。 现在最新版本是PostgreSQL16.2,2023-06-29:postgresql16-16-beta2_1......