obfuscation file declaration in the project. properties file, as shown below:
Proguard. config =$ {sdk. dir}/tools/proguard/proguard-android.txt: proguard-project.txt
4. OK, In the hosts file
------- The above is the whole process of obfuscation code.
Paste all the code of
About Java Packers and code obfuscationIn c, code encryption, the first shell method. The so-called shell, that is, the program code is encrypted, and then with a specific program loader, the code is decrypted and loaded into memory, so that the code can avoid the anti-compi
Android App developers know that once the application is cracked, what source code, resource files and so on can be leaked, the key points have so file payment class, financial applications and other security is more vulnerable to threats! In the Java language programming, you can reverse-engineer to get the Java program source code, this anti-compilation tool has Jad, Dex2jar, Jdec, Dedexer and so on. Ther
In SDK 2.3, we can see that a proguard folder is added under android_sdk _ path/tools/. Google places proguard Technology in the android SDK, it can be implemented through normal CompilationCodeConfused.
After Version 2.3, no matter which SDK version is used for development, two files, default. properties and proguard. cfg, will be created in a new project. Http://www.my400800.cn)
Download proguard4.6.zip
The default. properties
With Microsoft's human-friendly development tools, Visual Studio and MSDN's detailed help,. NET development efficiency is indeed high.But because. NET with Java, such as the intermediate language, virtual machine/sdk and many other characteristics, and high-level language library coding specification, MSIL Microsoft intermediate language readability is very high, so the code can easily be anti-compilation,
Previously learned to confuse the encryption tool Xenocode, the following record of the xenocode2010 code confused operation steps, we refer to the use of itThe steps are as follows: 1, select Application Label 2, click Add button, load to confuse DLL, EXE file 3, if it is DLL file then select the second item in preset list box, select the first item 4, click Apply Button 5, select Prote CT Label 6, click the Select String button to set 8, click the B
In development environments later than Android, Google provides the proguard code obfuscation function (which can be added by yourself before) to protect the hard-to-write code.
The proguard. cfg file will be automatically added to the root directory of the newly created Project for code
}/tools/proguard/proguard-android.txt: proguard-project.txt
4. OK, In the hosts file
------- The above is the whole process of obfuscation code.
Paste all the code of proguard-project.txt to the end:
# To enable ProGuard in your project, edit project.properties# to define the proguard.config property as described i
Use IntelliJ IDEA to configure Allatori for code obfuscation when developing Android applications, intellijallatori
IntelliJ IDEA provides very powerful Android development support. Even Android Studio officially recommended by Google is actually a dedicated Android development version of IntelliJ IDEA. Because the Android program uses the APK file Encapsulation Format when it is released, it is still a vir
Obfuscation (Proguard)The obfuscation compresses, optimizes, and confuses code by removing code that has never been used and renaming classes, fields, and methods with obscure names. The result is a smaller. apk file, which is more difficult to reverse engineer. Therefore, when your application is sensitive to security
Obfuscation (Proguard)---The obfuscation compresses, optimizes, and confuses code by removing code that has never been used and renaming classes, fields, and methods with obscure names. The result is a smaller. apk file, which is more difficult to reverse project. Therefore, when your application is sensitive to securi
Due to the proliferation of various decompilation tools, Android programmers can only manually add proguard Before Version 2.3 to achieve code obfuscation.
Proguard is a Java code obfuscation tool.
In SDK 2.3, we can see that a proguard folder is added under Android-SDK-Wind
In development environments later than Android, Google provides the proguard code obfuscation function (which can be added by yourself before) to protect the hard-to-write code.
The proguard. cfg file will be automatically added to the root directory of the newly created Project for code
with AJAX and rich interface technology, JavaScript in the importance of Web applications more and more high, JavaScript code complexity, functionality and technical content is increasing, the JavaScript The need for code protection is also becoming increasingly urgent.
The purpose of the JavaScript online obfuscation is to provide a new comprehensive solution f
again.
under the high-version SDK, the project contains both Proguard-project.txt and project.properties files, In this case, you need to configure the following information in the Proguard-project.txt file, and then export the project. The following is a demonstration of a real file.
# This file was automatically generated by Android Tools.
# Do not modify the this file--YOUR changes'll be erased!
#
# This file must is checked
.##toenableproguardtoshrinkandobfuscate yourcode,uncommentthis (availableproperties:sdk.dir,user.home): #proguard. Config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txtproguard.config=${sdk.dir} /tools/proguard/proguard-android.txt:proguard-project.txt#projecttarget.target=android-16 project.properties The contents of the file, the blue text is the configuration information
Due to the proliferation of various decompilation tools, Android programmers can only manually add proguard Before Version 2.3 to achieve code obfuscation.
Proguard is a Java code obfuscation tool.
In SDK 2.3, we can see that a proguard folder is added under Android-SDK-Wi
Obfuscation Device (Proguard)
Obfuscation compresses, optimizes, and confuses code by removing unused code and renaming classes, fields, and methods with obscure names. The result is a smaller. apk file, which is more difficult to reverse project. Therefore, when your application is sensitive to security (high require
absence of the corresponding function name and program comments, even if it is anti-compilation, it will be difficult to read. After the Android code is confused, the code is guaranteed to be secure, but protection is not comprehensive. Thanks for the "Love Encryption" they provide protection, including: Dex Shell Protection, DEX instruction dynamic load protection and advanced source
I. What have code obfuscation been done?1. code obfuscation is usually used to remove unnecessary Code. It is used to rename classes, attributes, and methods with obscure names to reduce the size of the Code, increase the difficul
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.