Android proguard also has Vulnerabilities

Source: Internet
Author: User

Some time ago, I was looking at a protected project using proguard.Program, Found the role of proguard:

1) The confusion class name is changed to a. A. X.

2) obfuscated the function name

3) obfuscated strings

ViewCodeAnnoying. In addition, if JD-Gui is used for decompilation, errors may occur.

However, proguard has many disadvantages, such

String test = "winsunxu ";

After progurd protection, it may be a bunch of garbled characters ".

When there is a dialog box that promotes incorrect input, the string is a very important guide, because the code context logic must be nearby.

At this time, you find that the plaintext strings are in the form of "ah", it is difficult to locate the corresponding dialog box, one way is

Write a small program by yourself and use proguard to protect it. Then, let's see what the corresponding string looks like. Now we will know.

For example, a.apk contains the string "ah", you do not know what it means. (In fact, it corresponds to "incorrect input ").

However, you can write a B .apk IN THE keystore, and use proguard to protect it to see "incorrect input", which corresponds to the string after progurad, and then use the encrypted string to locate it.

The encryption corresponding to progaurd is not variable. The same output is obtained after two identical inputs at different times.


Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.