Dex2jar
Accessibility tools
Jd-gui
Dex2jar Bag
After downloading the Dex2jar package, unzip to get the following directory:
Anti-compilation
Tell the APK package suffix name .zip
to file, then unzip, extract the file directory as follows:
apktool
There is a difference between this and the tool decompile file, such as the AndroidManifest.xml
file is not as clear as before, see the original data:
Of course this place we do not care about this, we mainly look at the classes.dex
file, put this file copy
into the dex2jar
directory.
To d2j_invoke.sh
Add execute permissions, execute the following command:
chmod +x d2j_invoke.shsh d2j-dex2jar.sh classes.dex
A jar package is then generated:
Jd-gui Open
The rest is analysis.
Update
dex2jar
you can actually turn the apk file into a jar package directly.
58deMacBook-Pro-7:dex2jar-2.0 wuxian$ sh d2j-dex2jar.sh classes.dexdex2jar classes.dex -> ./classes-dex2jar.jar58deMacBook-Pro-7:dex2jar-2.0 wuxian$ sh d2j-dex2jar.sh a_1.apkdex2jar a_1.apk -> ./a_1-dex2jar.jar
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Dex2jar of the Android security special test