https://github.com/puntorigen/apk_unpack
NodeJS APK unpacker (gets the assets and source codes)
https://github.com/puntorigen/apk_unpack
android apk-decompiler cli java javascript npm-package
Last synced: 3 months ago
JSON representation
NodeJS APK unpacker (gets the assets and source codes)
- Host: GitHub
- URL: https://github.com/puntorigen/apk_unpack
- Owner: puntorigen
- Created: 2017-01-27T18:29:56.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T00:15:28.000Z (over 3 years ago)
- Last Synced: 2024-11-16T12:49:13.757Z (3 months ago)
- Topics: android, apk-decompiler, cli, java, javascript, npm-package
- Language: JavaScript
- Homepage:
- Size: 47.8 MB
- Stars: 74
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

## INTRO
This package and command-line helps you unpack any APK (get its assets and java sources) and decrypt its manifest.
To install, execute the following on your terminal:```bash
npm i -g puntorigen/apk_unpack
```And use it as follows:
```bash
apk_unpack apkfile.apk outputdir
```As a class, it contains 4 public methods:
### init (config).
Initializes the component. Accepts an object with 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.## UPDATES
version 1.2.2:
- updated apktool and JADX to latest versions.
- please consider npm java requires python 2.7 to be installed.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 importingversion 1.1.4-6:
- added ability to decompile classes into .java filesversion 1.1.3:
- added ability to extract classes.dex and decode its contents using dex2jarversion 1.1.1:
- Fixed java class location for using command-line as binversion 1.0.3-9:
- Prettyfied readme.md file
- Add readme.md file