当前位置:网站首页>使用Xposed对软件进行破解
使用Xposed对软件进行破解
2022-07-28 08:56:00 【大白兔Exception】
入门
去AS里面新建一个NoActivity项目,最好把minimum版本调小
<!-- 加载Xposed模块-->
<meta-data android:name="xposedmodule" android:value="true" />
<!-- 模块描述-->
<meta-data android:name="xposeddescription" android:value="这是一个xposed demo" />
<!-- 模块最小版本-->
<meta-data android:name="xposedminversion" android:value="89" />
把模块导入libs
去build.gradle导入框架

去jadx找需要的method

去工程建一个类继承框架类
在src下建立一个assets,在文件夹里面简历一个xposed_init

点击编译,把编译后的apk安装到xposed的机子
常见方法
大神帖子的链接https://www.52pojie.cn/thread-851991-1-1.html
callStaticMethod
执行静态方法,源码中有一个方法,我们可以直接调用它
callMethod
执行某个类里的方法,如果有个方法是查询数据库的,你可以得到类的实例后再使用这个方法来执行自己写的语句
findField
查找类中的变量
findClassIfExists
未找到时则返回null,不会有异常
findClass
查找类,因为HookMethod时,参数可能是应用内自定义的类,所以需要这个方法来找到,在未找到时抛出异常
参数(完整类名String,classLoader 应用的类加载器
findAndHookMethod
查找并拦截方法的执行,只需要找到类名,方法名,函数名,参数类型就可以使用
该方法使用最多,但大多局限于改参数与改结果,在真正Hook大型应用中需要追根溯源,结合其他方法使用
边栏推荐
- mysql 最大建议行数2000w,靠谱吗?
- 《数据库系统内 幕》分布式系统
- 数据库核心体系
- Heuristic merging on tree
- [swintransformer source code reading II] window attention and shifted window attention
- Leetcode 452. minimum number of arrows to burst balloons (medium)
- Informatics Olympiad all in one 1617: circle game | 1875: [13noip improvement group] circle game | Luogu p1965 [noip2013 improvement group] circle game
- 01-TensorFlow计算模型(一)——计算图
- [high number] high number plane solid geometry
- 【SwinTransformer源码阅读二】Window Attention和Shifted Window Attention部分
猜你喜欢

golang升级到1.18.4版本 遇到的问题

2022安全员-C证特种作业证考试题库及答案

【打包部署】
![[package deployment]](/img/6f/93a35436947311bc2305adcb0df1a6.png)
[package deployment]

Conditions and procedures of stock index futures account opening

Personal blog applet

2022 safety officer-b certificate examination simulated 100 questions and answers

Introduction to shardingsphere's concept of sub database and sub table (2)

Promise学习笔记
![[附下载]推荐几款暴力破解和字典生成的工具](/img/c6/f4a9c566ff21a8e133a8a991108201.png)
[附下载]推荐几款暴力破解和字典生成的工具
随机推荐
树上启发式合并
什么是跨域?如何解决请跨域问题?
OpenShift 4 - 使用 VerticalPodAutoscaler 优化应用资源 Request 和 Limit
The cooperation between starfish OS and metabell is just the beginning
01-TensorFlow计算模型(一)——计算图
OpenShift 4 之AMQ Streams(1) - 多个Consumer从Partition接收数据
5 运算符、表达式和语句
【多线程】long和double的非原子性协定
[multithreading] non atomic agreement of long and double
2022 safety officer-b certificate examination simulated 100 questions and answers
2022年危险化学品经营单位安全管理人员上岗证题目及答案
QT基础练手小程序-简单计算器设计(附带源码,解析)
IntelliJ IDEA 关联数据库
[one flower, one world - Professor Zheng Yi - the way of simplicity] interpretable neural network
股指期货开户的条件和流程
Starfish Os打造的元宇宙生态,跟MetaBell的合作只是开始
1.5 merge\rebase\revert\stash\branch
【C语言】详解顺序表(SeqList)
[autosar-rte] - 3-runnable and its task mapping mapping
快速上手Flask(一) 认识框架Flask、项目结构、开发环境
