apk_unpack
v1.2.1
Published
NodeJS APK unpacker
Downloads
25
Maintainers
Readme
APK Unpack
INTRO
This package and command-line helps you unpack any APK (get its assets and java sources) and decrypt its manifest.
It contains 4 main methods:
init (config).
Initializes the component. Can have the keys: apk (apkfile to open), dir (outputdir), java (true if you want the decrypted classes.jar)
extract (onReadyCB).
This does the extraction of assets and sources into the given outputdir.
decompile (onReadyCB).
This extracts and decrypts the classes.dex from the given APK, also recovers .java files.
info (callback(err,data)).
Retrieves decrypted manifest information about the extracted apkfile from method one.
USAGE
It comes with a commandline that you can use as follows:
apk_unpack apkfile.apk outputdir
UPDATES
version 1.2.1:
- avoided error that hanged the jvm thread sometimes.
version 1.1.9:
- now uses JADX instead of dex2jar and jd-cli. Faster and works better for some apks.
- reduced logging output of java classes.
version 1.1.7-8:
- improved classpath importing
version 1.1.4-6:
- added ability to decompile classes into .java files
version 1.1.3:
- added ability to extract classes.dex and decode its contents using dex2jar
version 1.1.1:
- Fixed java class location for using command-line as bin
version 1.0.3-9:
- Prettyfied readme.md file
- Add readme.md file