当前位置:网站首页>使用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大型应用中需要追根溯源,结合其他方法使用
边栏推荐
- [附下载]推荐几款暴力破解和字典生成的工具
- Network engineering -- ranking of Chinese universities in Soft Science
- F - jealous two-dimensional reverse order pair
- Activiti startup error: cannot create poolableconnectionfactory (could not create connection to database server
- 面经-手撕代码
- OpenShift 4 之AMQ Streams(1) - 多个Consumer从Partition接收数据
- 【vscode】vscode使用
- VR panoramic shooting helps promote the diversity of B & B
- Modify virtual machine IP address
- Regular expressions for positive and negative values
猜你喜欢

Personal blog applet

正负数值的正则表达式

OpenShift 4 之AMQ Streams(1) - 多个Consumer从Partition接收数据

2022年危险化学品经营单位安全管理人员上岗证题目及答案

【SwinTransformer源码阅读二】Window Attention和Shifted Window Attention部分

对话MySQL之父:代码一次性完成才是优秀程序员

An entry artifact tensorflowplayground

【高数】高数平面立体几何

技术分享| 快对讲综合调度系统

51 single chip microcomputer storage: EEPROM (I2C)
随机推荐
An entry artifact tensorflowplayground
Magic brace- [group theory] [Burnside lemma] [matrix fast power]
股指期货开户的条件和流程
Introduction to shardingsphere's concept of sub database and sub table (2)
[high number] high number plane solid geometry
Oracle creates users with query permission only
2022 high voltage electrician examination simulated 100 questions and simulated examination
MATLAB的符号运算
Network engineering -- ranking of Chinese universities in Soft Science
数据泄漏、删除事件频发,企业应如何构建安全防线?
这两套代码有什么区别呢?
7 C control statements: branches and jumps
What is the difference between these two sets of code?
2022年安全员-B证考试模拟100题及答案
【解决】ERROR in [eslint] ESLint is not a constructor
IJCAI 2022 | 图结构学习最新综述:研究进展与未来展望
【一花一世界-郑一教授-繁简之道】可解释神经网络
阿里云服务器搭建和宝塔面板连接
01 tensorflow calculation model (I) - calculation diagram
会议OA系统
