update SandHook to the newest version, to support android11 and fix some hook bugs

This commit is contained in:
夏万里 2021-01-13 22:14:17 +08:00
parent d8fc537c33
commit 7a7757c35e
6 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ allprojects {
apply plugin: 'maven' apply plugin: 'maven'
apply plugin: 'idea' apply plugin: 'idea'
apply plugin: 'eclipse' apply plugin: 'eclipse'
version = '3.2' version = '4.0'
} }
defaultTasks('clean','distZip') defaultTasks('clean','distZip')

Binary file not shown.

View File

@ -122,7 +122,7 @@ public class SoAndDexCopyTask implements Runnable {
if (useWhaleHookFramework) { if (useWhaleHookFramework) {
dexAssetPath = "assets/dex/whale/classes-1.0.dex"; dexAssetPath = "assets/dex/whale/classes-1.0.dex";
} else { } else {
dexAssetPath = "assets/dex/sandhook/classes-1.0.dex"; dexAssetPath = "assets/dex/sandhook/classes-2.0.dex";
} }
FileUtils.copyFileFromJar(dexAssetPath, unzipApkFilePath + copiedDexFileName); FileUtils.copyFileFromJar(dexAssetPath, unzipApkFilePath + copiedDexFileName);
} }