- Notifications
You must be signed in to change notification settings - Fork229
Black Obfuscator is an obfuscator for Android APK DexFile, it can help developer to protect source code by control flow flattening, and make it difficult to analyze the actual program control flow.
License
Apache-2.0, Apache-2.0 licenses found
Licenses found
Apache-2.0
LICENSEApache-2.0
LICENSE.txtNotificationsYou must be signed in to change notification settings
CodingGay/BlackObfuscator
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
本项目针对Android APK DEX控制流混淆,在不会改变应用原有逻辑的前提下,会将原始代码进行控制流混淆,使得代码难以阅读,增加反编译阅读的难度以达到保护应用。
- 本项目基于dex2jar 进行修改
- Black系列交流群:390562046(QQ)
- 本项目基于dex2jar,为了出现转换过程中避免不必要的问题,请尽量混淆自己业务的代码,避免其余三方库一起混淆,在混淆规则内提供自己的业务代码路径。
目前本项目已集成Android Studio插件,支持打包自动化混淆。详情请移至:BlackObfuscator-ASPlugin
GUI工具已开发完成,详情请移至:BlackObfuscator-GUI
| 参数 | 解释 |
|---|---|
| -d | 混淆深度,越高混淆越深 |
| -i | 输入dex的路径 |
| -o | 输出dex的路径 |
| -a | 规则文件,见下一步骤 |
| -p | 需要进行混淆的包名 |
BlackObfuscatorCmd.main("d2j-black-obfuscator","-d","2","-i","/Users/milk/Documents/classes.dex","-o","/Users/milk/Documents/classes_out.dex","-a","filter.txt");
#it is annotation#cn.kaicity#classcn.kaicity.gk.cdk.BuildConfig#packagecn.kaicity#blackList!cn.kaicity.gk.cdk#blackList中的包或者类不会进行混淆- 更高强度的混淆
Copyright 2021 MilkLicensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.
About
Black Obfuscator is an obfuscator for Android APK DexFile, it can help developer to protect source code by control flow flattening, and make it difficult to analyze the actual program control flow.
Topics
Resources
License
Apache-2.0, Apache-2.0 licenses found
Licenses found
Apache-2.0
LICENSEApache-2.0
LICENSE.txtUh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published


