Skip to content

Commit

Permalink
update SandHook to the newest version, to support android11 and fix s…
Browse files Browse the repository at this point in the history
…ome hook bugs
  • Loading branch information
夏万里 committed Jan 13, 2021
1 parent d8fc537 commit 7a7757c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ allprojects {
apply plugin: 'maven'
apply plugin: 'idea'
apply plugin: 'eclipse'
version = '3.2'
version = '4.0'
}

defaultTasks('clean','distZip')
Expand Down
Binary file removed xpatch/src/main/assets/dex/sandhook/classes-1.0.dex
Binary file not shown.
Binary file not shown.
Binary file modified xpatch/src/main/assets/lib/arm64-v8a/libsandhook
Binary file not shown.
Binary file modified xpatch/src/main/assets/lib/armeabi-v7a/libsandhook
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private void copyDexFile(int dexFileCount) {
if (useWhaleHookFramework) {
dexAssetPath = "assets/dex/whale/classes-1.0.dex";
} else {
dexAssetPath = "assets/dex/sandhook/classes-1.0.dex";
dexAssetPath = "assets/dex/sandhook/classes-2.0.dex";
}
FileUtils.copyFileFromJar(dexAssetPath, unzipApkFilePath + copiedDexFileName);
}
Expand Down

0 comments on commit 7a7757c

Please sign in to comment.