Skip to content

Instantly share code, notes, and snippets.

@lukemilby
Created June 3, 2019 12:36
Show Gist options
  • Save lukemilby/bc11aed44c5326f68824e01b3956f305 to your computer and use it in GitHub Desktop.
Save lukemilby/bc11aed44c5326f68824e01b3956f305 to your computer and use it in GitHub Desktop.
Decompile Kotlin APK
import zipfile
zip_ref = zipfile.ZipFile("app-debug.apk", r) # read apk
zip_ref.extractall("test") # extract everything to test
zip_ref.close()
import os
command = "d2j-dex2jar test/classes.dex --force"
os.system(command)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment