【Android 逆向】frida 框架安装 ( 设置 Python 3.7 版本 | 安装 frida 12.7.5 版本 | 安装 frida-tools 5.1.0 版本 )

简介: 【Android 逆向】frida 框架安装 ( 设置 Python 3.7 版本 | 安装 frida 12.7.5 版本 | 安装 frida-tools 5.1.0 版本 )

文章目录

前言

一、设置 Python 3.7 3.73.7 版本

二、安装 frida 12.7.5 12.7.512.7.5 版本

三、安装 frida-tools 5.1.0 5.1.05.1.0 版本

四、安装 PyCharm

前言

frida 与 Python 之前存在版本匹配 , 如果设置的 frida 版本与 Python 版本不兼容 , 经常出现库不匹配的情况 , 报各种错误 , 这里推荐按照本博客中的版本进行匹配 ;


如果出现版本不匹配的情况 , 需要卸载相关模块 , 重新进行安装配置 ;






一、设置 Python 3.7 3.73.7 版本


首先要安装 Python 工具 , 参考 【开发环境】Windows 中安装 Python 各个版本 ( 下载 Python 各版本 SDK | 安装 Python ) 博客进行安装 , 这里设置 3.7 3.73.7 版本进行后续操作 ;



设置 Python 3.7 3.73.7 版本 : Windows 中安装了多个 Python 版本 , 在环境变量中 , 将哪个版本的路径放置在最顶端 , 那么当前调用 python 或 pip 命令时 , 就使用的哪个版本的 Python ;


image.png


设置完 Python 3.7 3.73.7 环境变量后 , 使用 python -V 命令 , 查看当前的 Python 版本 ;


image.png






二、安装 frida 12.7.5 12.7.512.7.5 版本


安装 frida 12.7.5 12.7.512.7.5 版本 , 该版本对应的 frida-tools 版本是 5.1.0 5.1.05.1.0 版本 ;


安装 frida 12.7.5 12.7.512.7.5 版本命令 :


pip install frida==12.7.5


安装过程命令行输出 :


C:\Users\octop>pip install frida==12.7.5
Collecting frida==12.7.5
  Downloading frida-12.7.5.tar.gz (6.9 kB)
Using legacy setup.py install for frida, since package 'wheel' is not installed.
Installing collected packages: frida
    Running setup.py install for frida ... done
Successfully installed frida-12.7.5
WARNING: You are using pip version 20.1.1; however, version 21.2.4 is available.
You should consider upgrading via the 'd:\001_develop\022_python\python37_64\python.exe -m pip install --upgrade pip' command.


image.png

image.png






三、安装 frida-tools 5.1.0 5.1.05.1.0 版本


安装 frida-tools 5.1.0 5.1.05.1.0 版本 , 该版本对应的 frida 版本是 12.7.5 12.7.512.7.5 版本 ;


安装 frida-tools 5.1.0 5.1.05.1.0 版本命令 :


pip install frida-tools==5.1.0


安装过程命令行输出 :


C:\Users\octop>pip install frida-tools==5.1.0
Collecting frida-tools==5.1.0
  Downloading frida-tools-5.1.0.tar.gz (26 kB)
Collecting colorama<1.0.0,>=0.2.7
  Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: frida<13.0.0,>=12.7.3 in d:\001_develop\022_python\python37_64\lib\site-packages (from frida-tools==5.1.0) (12.7.5)
Collecting prompt-toolkit<3.0.0,>=2.0.0
  Downloading prompt_toolkit-2.0.10-py3-none-any.whl (340 kB)
     |████████████████████████████████| 340 kB 656 kB/s
Collecting pygments<3.0.0,>=2.0.2
  Downloading Pygments-2.10.0-py3-none-any.whl (1.0 MB)
     |████████████████████████████████| 1.0 MB 344 kB/s
Collecting wcwidth
  Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting six>=1.9.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Using legacy setup.py install for frida-tools, since package 'wheel' is not installed.
Installing collected packages: colorama, wcwidth, six, prompt-toolkit, pygments, frida-tools
    Running setup.py install for frida-tools ... done
Successfully installed colorama-0.4.4 frida-tools-5.1.0 prompt-toolkit-2.0.10 pygments-2.10.0 six-1.16.0 wcwidth-0.2.5
WARNING: You are using pip version 20.1.1; however, version 21.2.4 is available.
You should consider upgrading via the 'd:\001_develop\022_python\python37_64\python.exe -m pip install --upgrade pip' command.

image.png




四、安装 PyCharm


参考 【开发环境】Windows 安装 PyCharm 开发环境 ( 下载 PyCharm | 安装 PyCharm | 在 PyCharm 中创建 Python 工程 ) 博客 , 安装 社区版 PyCharm 即可 ;


目录
相关文章
|
2天前
|
Python
conda升级python版本
conda升级python版本
|
3天前
|
缓存 前端开发 安全
Python web框架fastapi中间件的使用,CORS跨域详解
Python web框架fastapi中间件的使用,CORS跨域详解
|
3天前
|
API 数据库 Python
Python web框架fastapi数据库操作ORM(二)增删改查逻辑实现方法
Python web框架fastapi数据库操作ORM(二)增删改查逻辑实现方法
|
3天前
|
关系型数据库 MySQL API
Python web框架fastapi数据库操作ORM(一)
Python web框架fastapi数据库操作ORM(一)
|
3天前
|
Python
python web框架fastapi模板渲染--Jinja2使用技巧总结
python web框架fastapi模板渲染--Jinja2使用技巧总结
|
3天前
|
开发框架 网络协议 前端开发
Python高性能web框架--Fastapi快速入门
Python高性能web框架--Fastapi快速入门
|
3天前
|
网络协议 数据库 开发者
构建高效Python Web应用:异步编程与Tornado框架
【4月更文挑战第29天】在Web开发领域,响应时间和并发处理能力是衡量应用性能的关键指标。Python作为一种广泛使用的编程语言,其异步编程特性为创建高性能Web服务提供了可能。本文将深入探讨Python中的异步编程概念,并介绍Tornado框架如何利用这一机制来提升Web应用的性能。通过实例分析,我们将了解如何在实际应用中实现高效的请求处理和I/O操作,以及如何优化数据库查询,以支持更高的并发用户数和更快的响应时间。
|
3天前
|
弹性计算 运维 Shell
设置Python 支持自动命令补齐功能
【4月更文挑战第29天】
6 0
|
3天前
|
弹性计算 运维 Shell
设置 Python 支持自动命令补齐功能
【4月更文挑战第29天】
5 1
|
5天前
|
IDE 测试技术 持续交付
【专栏】Python自动化测试与单元测试框架:提升代码质量与效率
【4月更文挑战第27天】本文探讨了Python自动化测试与单元测试框架在提升代码质量与效率中的作用。Selenium、Appium用于Web和移动应用自动化测试,pytest提供强大、易扩展的测试支持。unittest是Python标准的单元测试框架,支持结构化测试用例和丰富的断言。实践中,应制定测试计划,编写高质量测试用例,实行持续集成与测试,并充分利用测试报告。这些工具和策略能有效保障代码质量和提升开发效率。

推荐镜像

更多