Reverse a parking app (original)

Source: Internet
Author: User
Tags sha1

recently has been doing the development of Python, information security is done very little, but also "egg" sadness. Today, a friend asked me to help, will be an app in the text and icons to replace, spent an afternoon and a night of time to make a bit, mainly the PS is very nerve-wracking, weak ... All eyes are tears ... You can only do it slowly ...

First to update the tool, found that androidkiller_v1.3 has been released for a period of time, it seems that it has not been engaged ... Drag the apk in to decompile.

Androidkiller provides a good search and replace function, so text substitution becomes extremely convenient.

Replace the text is very convenient, replace the icon a little trouble, first find the corresponding 16 ID, and then find the layout file, then find the icon, the last PS modified, change the layout, OK, technically not complex, is the cost of time.

Of course, this is not the focus of our days, we are talking about anti-compilation, modification, packaging, signature, this series of work after the difficulties encountered.

After I changed the parking app, I was able to run safely on my phone without any abnormalities, thinking it was going to be done. My friend found the problem, that is, Baidu map show not come out ...

The difficulty of this reversal is also in this place. How to solve this problem?

Since it is Baidu map display does not come out, you can judge Baidu map to verify, anti-compiled app and the original app the biggest difference is the signature, almost certainly is the verification of the signature. Fortunately, before doing two or three years of Android development, understand the development of Baidu map, this time played a role. It seems to do a good job of information security, learning to develop is the basic skills ah. Needless to say, since the key problem has been identified, then we go to Baidu Map Developer Center to solve the problem.

Login to the Baidu Map Developer Center and register as a developer. I have already signed up.

Did you notice this sentence in the picture?!!

Baidu maps Android SDK provides all the services are free, interface use Unlimited. You need to apply for a key (key) before you can use the Baidu maps Android SDK.

It seems that our guess is right, is through the key to determine whether to be allowed to use the Baidu Map SDK. Let's see how the key is generated, how to put it in the program.

Http://lbsyun.baidu.com/index.php?title=androidsdk/guide/key

This is the entire process of applying the key, and the key generation is mainly related to the digital signature (SHA1) and the package name.

We can find the package name in the manifest file.

Since we are using the Androidkiller signature file (the original program can not get ...) ), so the digital signature (SHA1) uses Androidkiller.

Finally, we fill in the package name and digital signature, and after submission, we generate our own application and key.

Where should this key be filled in????

From the development documentation, we can see

OK, so let's just find the Androidmanifest file of our anti-compilation program, and then use my own key to replace his original.

When all this is done, packaged and installed, look at the effect, imagined, successful, the map came out.

Today's share is here, if you feel good, remember to play a reward.

You are welcome to support my public number:

Reverse a parking app (original)

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.