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
f8c40934
Commit
f8c40934
authored
Sep 29, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update toolkit
parent
33c76c49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
UnPackerToolKit.java
src/main/java/com/virjar/ratel/api/UnPackerToolKit.java
+2
-3
No files found.
src/main/java/com/virjar/ratel/api/UnPackerToolKit.java
View file @
f8c40934
...
...
@@ -8,7 +8,6 @@ import com.virjar.ratel.api.rposed.RC_MethodHook;
import
com.virjar.ratel.api.rposed.RposedHelpers
;
import
java.io.File
;
import
java.io.FileNotFoundException
;
import
java.io.FileOutputStream
;
import
java.io.IOException
;
import
java.lang.reflect.Constructor
;
...
...
@@ -118,7 +117,7 @@ public class UnPackerToolKit {
*
* @return 一个apk文件,该文件包括代码和资源,但是没有签名,无法直接运行
*/
public
File
constructUnpackedApk
()
{
public
static
File
constructUnpackedApk
()
{
try
{
return
constructUnpackedApkInternal
();
}
catch
(
IOException
e
)
{
...
...
@@ -129,7 +128,7 @@ public class UnPackerToolKit {
public
static
final
Pattern
classesIndexPattern
=
Pattern
.
compile
(
"classes(\\d+)\\.dex"
);
private
File
constructUnpackedApkInternal
()
throws
IOException
{
private
static
File
constructUnpackedApkInternal
()
throws
IOException
{
File
workDir
=
RatelToolKit
.
ratelUnpack
.
getWorkDir
();
if
(
workDir
==
null
||
!
workDir
.
exists
())
{
return
null
;
...
...
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