Decompiling android apps using apktool

There aren't many tools required for this one. Its a simple procedure. If one knows what to look for once the app is decompiled, then the whole activity takes less than 10 min to tear apart the application.

First - Check for the java version installed. It should be more than 1.8. 

If there is no java installed, follow this and make it the default. (Make sure to install <1.8)
https://java.com/en/download/help/download_options.xml

Second - Install apktool 

https://ibotpeaches.github.io/Apktool/install/



1. Download the mac wrapper script as "apktool" - https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/osx/apktool

2. Download apktool-2 - https://bitbucket.org/iBotPeaches/apktool/downloads/
3. Rename downloaded jar to apktool.jar
4. Move both files apktool.jar and apktool to /usr/local/bin using root
5. Make both the files executables using chmod +x
6. From CLI - run apktool --version
7. Download the apk(yourapp) file you want to decompile
8. Navigate to the apk file location and run 
apktool d yourapp.apk

Once you have run, the files of the apk file can be seen in the folder named yourapp in the same location

Comments

Popular posts from this blog

Bug bounty - Simple tips and tricks

Hashing, Salting, Encoding and Encrypting

Homomorphic encryption