Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
R
RatelApi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ratel
RatelApi
Commits
09c2886a
Commit
09c2886a
authored
Sep 20, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加直接dump dex的api
parent
72adadc1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
RatelUnpack.java
src/main/java/com/virjar/ratel/api/RatelUnpack.java
+10
-0
No files found.
src/main/java/com/virjar/ratel/api/RatelUnpack.java
View file @
09c2886a
package
com
.
virjar
.
ratel
.
api
;
import
java.io.File
;
import
java.lang.reflect.Method
;
import
java.nio.ByteBuffer
;
import
java.util.List
;
/**
...
...
@@ -25,4 +27,12 @@ public interface RatelUnpack {
*/
List
<
byte
[]>
findDumpedDex
(
String
className
);
/**
* 根据一个method,直接获取他在内存中的dex镜像数据,在不存在指令修复的场景下,直接调用这个便可以精准脱壳
*
* @param method 一个特定的方法,可以通过各种hook手段、反射手段获取到
* @return 内存数据
*/
ByteBuffer
methodDex
(
Method
method
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment