当前位置:网站首页>Use xposed to crack the software
Use xposed to crack the software
2022-07-28 09:42:00 【White rabbit exception】
introduction
Go to AS Create a new NoActivity project , It's better to minimum Version down 
<!-- load Xposed modular -->
<meta-data android:name="xposedmodule" android:value="true" />
<!-- Module description -->
<meta-data android:name="xposeddescription" android:value=" This is a xposed demo" />
<!-- Minimum version of module -->
<meta-data android:name="xposedminversion" android:value="89" />
Import the module libs
Go to build.gradle Import frame

Go to jadx Find what you need method

Go to the project to build a class to inherit the framework class 
stay src Next build a assets, A resume in the folder xposed_init

Click on the compilation , Put the compiled apk The installation to xposed The machine of
Common methods
Link to the great God post https://www.52pojie.cn/thread-851991-1-1.html
callStaticMethod
Execute static methods , There is a method in the source code , We can call it directly
callMethod
Execute methods in a class , If there is a way to query the database , You can get the instance of the class and then use this method to execute the statements written by yourself
findField
Find variables in the class
findClassIfExists
If not found, return null, There will be no exceptions
findClass
Find the class , because HookMethod when , The parameter may be a custom class in the application , So we need this method to find , Throw an exception when it is not found
Parameters ( Full class name String,classLoader Class loaders for applications
findAndHookMethod
Find and intercept the execution of methods , Just find the class name , Method name , Function name , Parameter types can be used
This method is used most , But most of them are limited to changing parameters and changing results , In the real Hook In large-scale applications, we need to trace the source , Use in combination with other methods
边栏推荐
- Opencv4.60 installation and configuration
- View的工作原理
- Heuristic merging on tree
- Introduction to shardingsphere's concept of sub database and sub table (2)
- Rgb-t tracking: [multimodal fusion] visible thermal UAV tracking: a large scale benchmark and new baseline
- [summary of leetcode weekly competition] the 83rd fortnight competition of leetcode (7.23)
- 数据库高级学习笔记--存储函数
- 就这么一个简单的校验,80%的程序员却做不到,更不理解!
- 【AUTOSAR-RTE】-3-Runnable及其Task Mapping映射
- IJCAI 2022 | 图结构学习最新综述:研究进展与未来展望
猜你喜欢

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

Leetcode - hashtable topic

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

JDBC连接数据库

Regular expressions for positive and negative values

Activiti startup error: cannot create poolableconnectionfactory (could not create connection to database server

Oracle-11gr2 default system job

Salted fish esp32 instance - mqtt lit LED

Buckle 376 swing sequence greedy

Alibaba cloud server setup and pagoda panel connection
随机推荐
Window source code analysis (II): the adding mechanism of window
JS array is de duplicated, the ID is the same, and a value is added and merged
Express builds a simple local background (1)
常用工具函数 持续更新
数据库高级学习笔记--存储函数
C signed and unsigned byte variables
Window源码解析(三):Window的更新机制
[swintransformer source code reading II] window attention and shifted window attention
JDBC connection database
业务可视化-让你的流程图'Run'起来(4.实际业务场景测试)
Arouter source code analysis (II)
[multithreading] non atomic agreement of long and double
译文推荐 | 调试 BookKeeper 协议 - 无界 Ledger
Conditions and procedures of stock index futures account opening
JDBC连接数据库
树上启发式合并
[summary of leetcode weekly competition] the 83rd fortnight competition of leetcode (7.23)
express搭建一个简易的本地后台(一)
就这么一个简单的校验,80%的程序员却做不到,更不理解!
Method parameter transfer mechanism of C #
