An open API service indexing awesome lists of open source software.

https://github.com/camerakit/apk-inspector


https://github.com/camerakit/apk-inspector

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          


APK Inspector Header


Find permissions and dependencies used by an Android application.

## Installation
This project currently depends on APKTool. APKTool is an open source library that allows disassembly of APKs.

Follow the installation instructions on their [website](https://ibotpeaches.github.io/Apktool/install/).

Install the other project dependencies with `yarn`.

## Usage
Install the script globally with `npm install -g` and then run with the command with `apki`.

Otherwise run the script from the project directory with the command `node index.js`.

## Options
`apki [option] `

| option | alias | parameters | description |
| --- | --- | --- | --- |
| --local-source | -l | __string__: path_to_apk | path to local APK |
| --remote-source | -r | __string__: URL | URL of remote source |
| --output-type | -o | [__json__], [__text__], [__both__] | output file type |
| --console-output | -c | none | print output to console |
| --specify-permission | -x | __string__: permission_name | console log if permisison is found |
| --specify-dependency | -y | __string__: package_name | console log if dependency is found |
| --permissions-only | -p | none | only output permissions |
| --dependencies-only | -d | none | only output dependencies |
| --version | -v | none | Show version number |
| --help | -h | none | Show help |

Examples
```
apki -r https://pathtoapk.io -x camera
apki -l ./Downloads/myapk.apk -d
node index.js
```

## License
APK Inspector is under the MIT License.