当前位置:网站首页>使用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大型应用中需要追根溯源,结合其他方法使用
边栏推荐
- 5 运算符、表达式和语句
- RGB-T追踪——【多模态融合】Visible-Thermal UAV Tracking: A Large-Scale Benchmark and New Baseline
- 【广西大学】考研初试复试资料分享
- How to use gbase C API in multithreaded environment?
- js数组去重,id相同对某值相加合并
- oracle 创建用户且只有查询权限
- 1.5 merge\rebase\revert\stash\branch
- 【英语考研词汇训练营】Day 15 —— analyst,general,avoid,surveillance,compared
- 1.5 merge\rebase\revert\stash\branch
- Salted fish esp32 instance - mqtt lit LED
猜你喜欢

Promise learning notes

Problems encountered in upgrading golang to version 1.18.4

JDBC connection database

Personal blog applet

Conditions and procedures of stock index futures account opening

Alibaba cloud server setup and pagoda panel connection

MATLAB的实时编辑器

Oracle creates users with query permission only

树上启发式合并

2022年危险化学品经营单位安全管理人员上岗证题目及答案
随机推荐
2022年起重机司机(限桥式起重机)考试题库及模拟考试
376. Swing sequence [greedy, dynamic planning -----]
[JVM] JVM refers to floating point number
Oracle-11gR2默认的系统JOB
2.9.5 ext JS object type processing and convenient methods
express搭建一个简易的本地后台(一)
Bluetooth technology | the total scale of charging piles in Beijing will reach 700000 in 2025. Talk about the indissoluble relationship between Bluetooth and charging piles
QT basic hand training applet - simple calculator design (with source code, analysis)
canvas常用原型方法及绘制图片应用
【打包部署】
面经-手撕代码
Openshift 4 - use verticalpodautoscaler to optimize application resource request and limit
2022年安全员-B证考试模拟100题及答案
Force deduction question (1) -- sum of two numbers
Detailed introduction of v-bind instruction
F - Jealous Two-二维逆序对
OpenShift 4 之AMQ Streams(1) - 多个Consumer从Partition接收数据
js数组去重,id相同对某值相加合并
2022 high voltage electrician examination simulated 100 questions and simulated examination
LeetCode_ 406_ Rebuild the queue based on height
