0, Tool SummaryOur anti-compilation apk mainly uses the following three tools
Apktool: Used to get resource files
Dex2jar: Get the source file jar package
Jd-gui: Anti-compilation source file jar package View source code
Looking for these tools to toss me a little time, now I find the final version of the available to put Baidu Cloud. Downlo
Sometimes we need to do the anti-compilation work of apk files, read good code and patterns to help us do our task better.This article describes the anti-compilation work of the APK file, two kinds of anti-compilation methods:Tools to use:
Tools Required:1.apktool apk Packaging Tool: http://android-apktool.googlecode.com/files/apktool1.5.2.tar.bz2Installation: Direct decompression can be, is a Apktool.jar file, through[Plain]View Plaincopyprint?
$java-jar Apktool.jar
$java-jar Apktool.jarTo run, depending on the Java Runtime Environment2.dex2jar Dex Conversion Jar Tool: Http://dex2jar.googlecode.com/files/dex2jar-0.0.9.15.zipInstall: Directly decompression can, is a fold
OverviewAndroid APK Anti-compilation is an interesting thing. We can do the anti-compilation of the APK to Chinese hack work and so on.Android APK anti-compilation mainly involves the use of three tools, respectively
Apkt
In learning the Android development process, you tend to learn how other people's apps are developed, and those beautiful animations and exquisite layouts may put you down, as a developer, you might want to know how these effects interfaces are implemented, You will be able to reverse-compile the application of the APK view. Below is a few articles I refer to after a simple tutorial detailed.
(Note: Anti-c
This article mainly introduces the Android APK Anti-compilation Foundation, the use of the tool is Apktoos, we will use a graphic way to explain how the Apktoos tool, you can refer to this method to decompile other apk tryA long time has written a wide-industry library homepage A crawler of the demo (because no interface, can only pick static pages), some of the
One. Anti-compilation apk get Java source codetool Download : Need to Dex2jar and Jd-gui these 2 toolsDex2jar:http://code.google.com/p/dex2jar/downloads/listJd-gui:Windows Edition Jd-gui:http://java.decompiler.free.fr/?q=jdguiLinux version jd-gui:http://laichao.googlecode.com/files/jd-gui-0.3.2.linux.i686.tar.gzSteps:1. First locate the Classes.dex in the Android software installation packageRename the.
Tools Required:1.apktool apk Packaging Tool: http://android-apktool.googlecode.com/files/apktool1.5.2.tar.bz2Installation: Direct decompression can be, is a Apktool.jar file. Pass[Plain]View Plaincopyprint?
$java-jar Apktool.jar
$java-jar Apktool.jarTo execute. Dependent on the Java execution Environment2.dex2jar Dex Conversion Jar Tool: Http://dex2jar.googlecode.com/files/dex2jar-0.0.9.15.zipInstallation: Direct decompression can be,
This period of time learning Android application development, in the thinking since it is developed in Java should be very good anti-compilation to get the source code bar, Google a bit, it is really simple, the following is my practice process. In this solemn declaration, the purpose is not to crack people's software, is completely a learning attitude, but it seems that through this way can also go to the Chinese some foreign software. First,
eclipse(1) Android Studio menu Build->generate signed APK(2) Create a new key
Key Store Path: The address of the KeyStore file
Password/confirm: Password for KeyStore
Key:
Alias: Key Name
Password/confirm: Key Password
Validity (years): Key validity time
First and last name: Key issuer Name
Organizational Unit: Key-issuing organization
City or Locality: cities
Country Code (XX): Country
(3) Next step(
The reverse of the Android APK program is much simpler than the reverse of the windowsPE file.1. Android APK program is actually a zip, can be opened with WinRAR, extract will see a very familiar directory, there are androidmanifest.xml files, various resources and pictures2.xml Open With Notepad, you will see garbled, so you need to use the Axmlprinter2.jar tool for processing, the command is as follows:Ja
Front-facing environmentRequires a Java environment, and if no Java environment is configured, the following links are configured by the tutorial:Java Development Environment Construction: http://www.cnblogs.com/magisk/p/8496396.htmlThe tools you need1, Apktool, function: decompile the APK required resource files and layout settings files, etc.: https://ibotpeaches.github.io/Apktool/install/2, Dex2jar, function: decompile the jar file, that is, the
ApktoolPurpose: Get resource files such as Mainifest.xml resDownload: http://ibotpeaches.github.io/Apktool/install/Use: Apktool d test.apkDex2jarPurpose: Get the project source jar packageDownload: Https://github.com/pxb1988/dex2jarUsage:1. Unzip apk to get Classes.dex file2, through the command./dex2jar-2.0/d2j-dex2jar.sh classes.dex to generate a Class.jar package that can be viewed with the Jd-gui toolNote: After extracting the Dex2jar.zip file, yo
On an article we talked about APK to prevent anti-compilation technology in the shell technology, if there is not clear can view my previous blog http://my.oschina.net/u/2323218/blog/393372. Next we will introduce another technique to prevent the apk from recompiling-modifying bytecode at runtime. This method is in the work in the implementation of the app wrappi
On an article we talked about APK to prevent anti-compilation technology in the shell technology, if there is not clear can view my previous blog http://my.oschina.net/u/2323218/blog/393372. Next we will introduce another technique to prevent the apk from recompiling-modifying bytecode at runtime. This method is in the work in the implementation of the app wrappi
the target apk corresponding file to test. Including the subsequent switch statements are also analyzed, the following look at the print Toast Smali statement (in the actual case may need to change the variable name, because it may be followed by the variable name conflict)Const-string V0, "This is a test" const/16 v1, 0x3e8 invoke-static {p0, V0, v1}, Landroid/widget/toast;->maket Ext (landroid/content/context; Ljava/lang/charsequence;i) Landr
Overview:In fact, anti-compilation is very simple, just use some toolkits and some basic command-line commands to reverse-program the APK file, there is no advanced technology. Let's take a look at the anti-compilation techniques.Note: This blog anti-compilation method, only for reference study use, prohibited for ille
In the app development project, sometimes we can use APK anti-compilation to learn from other people's ideas, but must not be used for improper use! Understand the anti-compilation programmer also need not worry, can learn more about the Application security encryption technology , so that you do not have to worry about your app is
1. Download the anti-compilation tool dex2jar and Jd-gui from http://download.csdn.net/detail/dingyuming1991/9618125 (you can also download Google search);2. the APK package to be anti-compilation to the extension zip (apk package is actually a zip package), unzip the zip file;3. In the extracted folder there will be
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.