当前位置:网站首页>使用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大型应用中需要追根溯源,结合其他方法使用
边栏推荐
- canvas常用原型方法及绘制图片应用
- c# 有符号和无符号字节变量
- 7 C控制语句:分支和跳转
- 1.5 merge\rebase\revert\stash\branch
- Rgb-t tracking: [multimodal fusion] visible thermal UAV tracking: a large scale benchmark and new baseline
- Heuristic merging on tree
- 2022年安全员-B证考试模拟100题及答案
- FPGA development learning open source website summary
- express搭建一个简易的本地后台(一)
- 【SwinTransformer源码阅读二】Window Attention和Shifted Window Attention部分
猜你喜欢

Personal blog applet

2022 high voltage electrician examination simulated 100 questions and simulated examination

蓝牙技术|2025年北京充电桩总规模达70万个,聊聊蓝牙与充电桩的不解之缘

2022 safety officer-c certificate special operation certificate examination question bank and answers

IP protocol of network layer

【592. 分数加减运算】

Alibaba cloud server setup and pagoda panel connection

【广西大学】考研初试复试资料分享

DN-DETR 论文精度,并解析其模型结构 & 2022年CVPR论文

final关键字和枚举类型
随机推荐
【一花一世界-郑一教授-繁简之道】可解释神经网络
什么是跨域?如何解决请跨域问题?
如何在多线程环境下使用 GBase C API ?
Face warp - hand tear code
《数据库系统内 幕》分布式系统
Common prototype methods of canvas and the application of drawing pictures
Problems encountered in upgrading golang to version 1.18.4
[autosar-rte] - 3-runnable and its task mapping mapping
ShardingSphere简介(一)
【vscode】vscode使用
MySQL 8.0.30 GA
Magic brace- [group theory] [Burnside lemma] [matrix fast power]
ShardingSphere之分库分表概念介绍(二)
376. Swing sequence [greedy, dynamic planning -----]
DN-DETR 论文精度,并解析其模型结构 & 2022年CVPR论文
VR panoramic shooting helps promote the diversity of B & B
3D全景展示新模式,成为破局的关键
2022牛客多校第一场补题
LeetCode(剑指 Offer)- 50. 第一个只出现一次的字符
QT basic hand training applet - simple calculator design (with source code, analysis)
