AabResGuard icon indicating copy to clipboard operation
AabResGuard copied to clipboard

The tool of obfuscated aab resources.(Android app bundle资源混淆工具)

Results 62 AabResGuard issues
Sort by recently updated
recently updated
newest added

``` Caused by: java.lang.NoClassDefFoundError: org/gradle/internal/impldep/org/eclipse/jgit/errors/NotSupportedException at com.bytedance.android.plugin.internal.SigningConfigResolutionKt.getSigningConfigForAGP4(SigningConfigResolution.kt:46) at com.bytedance.android.plugin.internal.SigningConfigResolutionKt.getSigningConfig(SigningConfigResolution.kt:27) at com.bytedance.android.plugin.tasks.AabResGuardTask.execute(AabResGuardTask.kt:47) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104) ``` **Expected behavior** gradlew clean bundleRelease **Info (please complete the following information):** - Device: [Windows] - OS:...

bug

AGP = com.android.tools.build:gradle:4.2.0-alpha08 FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. > Failed to notify project evaluation listener. > 'java.util.List com.android.build.gradle.internal.VariantManager.getVariantScopes()' *...

bug

https://github.com/bytedance/AabResGuard/blob/4e902042a3282f42a9b89e0446222a7b275a23ec/core/src/main/java/com/bytedance/android/aabresguard/utils/FileOperation.java#L72 FOS could not be released correctly.Most unreleased resource issues cause general software reliability problems.However, if an attacker can intentionally trigger a resource leak, an attacker can launch a denial-of-service...

https://github.com/bytedance/AabResGuard/blob/4e902042a3282f42a9b89e0446222a7b275a23ec/core/src/main/java/com/bytedance/android/aabresguard/bundle/AppBundleAnalyzer.java#L29 Unable to release ZipFile correctly.Most unreleased resource issues cause general software reliability problems.However, if an attacker can intentionally trigger a resource leak, an attacker can launch a denial-of-service attack...

https://github.com/bytedance/AabResGuard/blob/4e902042a3282f42a9b89e0446222a7b275a23ec/core/src/main/java/com/bytedance/android/aabresguard/utils/FileOperation.java#L72 Path Manipulation: ZIP Entry Overwrite errors occur when a ZIP file is opened and expanded without checking the file path of the ZIP entry.Allowing user input to control the...

whiteList添加了"*.R.string.google_app_id"这一条之后,release版本启动就会crash,去掉就OK 配置如下: aabResGuard { whiteList = [ // 白名单规则 "*.R.string.google_app_id", ] obfuscatedBundleFileName = "duplicated-app.aab" // 混淆后的文件名称,必须以 `.aab` 结尾 mergeDuplicatedRes = true // 是否允许去除重复资源 enableFilterFiles = false // 是否允许过滤文件 filterList =...

bug

https://github.com/bytedance/AabResGuard/blob/4e902042a3282f42a9b89e0446222a7b275a23ec/core/src/main/java/com/bytedance/android/aabresguard/bundle/AppBundleAnalyzer.java#L29 The program can potentially fail to release a file handle.

In order to get signingConfig - in AGP3.2+, use `VariantScope.getVariantConfiguration.getSigningConfig` - in AGP4.0+, use `VariantScope.getVariantDslInfo.getSigningConfig` And we don't need `getBuildTypes`, so we can remove `getBuildTypesForAGPBefore4008()` and `getBuildTypesForAGP4009()`. And I have...

This allows you to comment out lines, e.g. using '#'. For example: ``` res dir mapping: res/anim -> res/a res/color -> res/b # res/drawable -> res/c # res/interpolator -> res/d...

It was working fine in Android Studio 4.0 Canary 8, today i update it to Canary 9 and it failds classpath 'com.android.tools.build:gradle:4.0.0-alpha09' classpath "com.bytedance.android:aabresguard-plugin:0.1.4" Execution failed for task ':app:aabresguardRelease'. >...

bug