0% found this document useful (0 votes)
12 views1 page

Android APK Tools: Compile & Decompile

The document outlines various tools and commands for Android compilation and decompilation, including Apktool for decompiling and compiling APK files, dex2jar for converting APKs to JAR files, and MOBSF for security analysis. It also details commands for signing APKs using jarsigner and creating keystores with keytool. Additionally, it mentions using Drozer for security testing and running GUI applications like jd_gui and jadx_gui.

Uploaded by

anish08bangar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views1 page

Android APK Tools: Compile & Decompile

The document outlines various tools and commands for Android compilation and decompilation, including Apktool for decompiling and compiling APK files, dex2jar for converting APKs to JAR files, and MOBSF for security analysis. It also details commands for signing APKs using jarsigner and creating keystores with keytool. Additionally, it mentions using Drozer for security testing and running GUI applications like jd_gui and jadx_gui.

Uploaded by

anish08bangar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Android Compilation & Decompilation Tools and Commands

#_Apktool
- Decompile
- apktool d "D:\diva-apk-file-main\[Link]" -o "D:\diva-
apk-file-main\DivaApplication-src"
- apktool d "D:\diva-apk-file-main\[Link]"
- Compile
- apktool b "D:\diva-apk-file-main\DivaApplication-src" -o "D:\diva-
apk-file-main\DivaApplication_rebuild.apk"

#_dex2jar
- Decompile
- "[Link]" "D:\diva-apk-file-main\[Link]" -o "D:\
diva-apk-file-main\[Link]"

#_jd_gui
- run .exe file

#_jadx_gui
- run .exe file

#MOBSF
- folder madhun cmd open karaychi
- then run command .\[Link]
- tya nantar browser var [Link] open kar

#Drozer
- adb forward tcp:31415 tcp:31415
- drozer console connect
-

#jarsigner
- to create an keystore = keytool -genkeypair -v -keystore [Link] -alias
testalias -keyalg RSA -keysize 2048 -validity 10000
= keytool -genkeypair -v ^-keystore
[Link] ^-alias androiddebugkey ^-keyalg RSA ^-keysize 2048 ^-validity 10000

-To sign an apk = jarsigner -verbose -sigalg SHA1withRSA -digestalg RSA -


keystore [Link] Tampered_DivaApplication.apk testalias

= jarsigner -verbose ^-keystore [Link]


^[Link] ^androiddebugkey

-To Verify = jarsigner -verify -verbose -certs [Link]

You might also like