Extracting source code of apk file

316 views 11 slides Oct 17, 2016
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

Extracting java and xml code of apk file


Slide Content

How to Extract java and xml code of apk file -Deepanshu UIT RGPV

$ whoami 2 year Student from UIT RGPV Certified in java Technology from SCA L33T at cybrary Hoobies are reading manga, social engineering

Prerequisites jd-gui Dex2jar Apktool Apk file

In a nutshell

Enough Theory!! So lets get Started..

Step 1 : 1. Make a new folder and copy over the .apk file that you want to decode . 2. Convert the .apk file to a .zip file . 3. Extract the zip file to get classes.dex file . Step 2 : 1. Extract the dex2jar file . 2. Copy the classes.dex file to dex2jar folder . Getting the java code

Step 3: 1 . Open the cmd/terminal switch directory to current folder . 2 . Put in the command dex2jar classes.dex . Step 4: 1. Extract the java decompiler file . 2. open the obtained jar file with it . Done!

Getting the xml code 1 . Extract the apktool file 2 . Copy that apktool ‘s files and apk to a same folder . 3 . Open cmd switch Directory to the same folder .

4 . Run this command – java -jar apktool d someapkfile.apk 5 . Xml code will be present in the res folder .

For more stuff visit anonworldwide.com

Thank You for your time and attention!