| 1 |
.TH APKINSPECTOR 1 "2026-09-06" "apkInspector" "User Commands" |
| 2 |
.SH NAME |
| 3 |
apkInspector \- analyse the zip structure of Android APK files |
| 4 |
.SH SYNOPSIS |
| 5 |
.B apkInspector |
| 6 |
.RB [ \-h ] |
| 7 |
.RB [ \-apk |
| 8 |
.IR APK ] |
| 9 |
.RB [ \-f |
| 10 |
.IR FILENAME ] |
| 11 |
.RB [ \-ll ] |
| 12 |
.RB [ \-lc ] |
| 13 |
.RB [ \-la ] |
| 14 |
.RB [ \-e ] |
| 15 |
.RB [ \-x ] |
| 16 |
.RB [ \-xa ] |
| 17 |
.RB [ \-m ] |
| 18 |
.RB [ \-sm |
| 19 |
.IR SPECIFY_MANIFEST ] |
| 20 |
.RB [ \-a ] |
| 21 |
.RB [ \-v ] |
| 22 |
.SH DESCRIPTION |
| 23 |
.B apkInspector |
| 24 |
is a tool designed to provide detailed insights into the zip structure of |
| 25 |
APK files, offering the capability to extract content and decode the |
| 26 |
AndroidManifest.xml file. |
| 27 |
.PP |
| 28 |
apkInspector adheres to the zip specification during APK parsing, eliminating |
| 29 |
the need for reliance on external libraries. This independence allows it to be |
| 30 |
highly adaptable, effectively emulating Android's installation process for APKs |
| 31 |
that cannot be parsed using standard libraries. The main goal is to enable |
| 32 |
users to conduct static analysis on APKs that employ evasion techniques, |
| 33 |
especially when conventional methods prove ineffective. |
| 34 |
.SH OPTIONS |
| 35 |
.TP |
| 36 |
.B \-h, \-\-help |
| 37 |
Show a help message and exit. |
| 38 |
.TP |
| 39 |
.BI \-apk " APK" |
| 40 |
A single APK to inspect or a directory where multiple APKs may reside. |
| 41 |
.TP |
| 42 |
.BI \-f " FILENAME" "\fR, \fP" \-\-filename " FILENAME" |
| 43 |
Filename to provide info for. |
| 44 |
.TP |
| 45 |
.B \-ll, \-\-list\-local |
| 46 |
List all files by name from local headers. |
| 47 |
.TP |
| 48 |
.B \-lc, \-\-list\-central |
| 49 |
List all files by name from the central directory header. |
| 50 |
.TP |
| 51 |
.B \-la, \-\-list\-all |
| 52 |
List all files from both the central directory and local headers. |
| 53 |
.TP |
| 54 |
.B \-e, \-\-export |
| 55 |
Export to JSON. What you list from the other flags will be exported. |
| 56 |
.TP |
| 57 |
.B \-x, \-\-extract |
| 58 |
Attempt to extract the file specified by the |
| 59 |
.B \-f |
| 60 |
flag. |
| 61 |
.TP |
| 62 |
.B \-xa, \-\-extract\-all |
| 63 |
Attempt to extract all files detected in the central directory header, |
| 64 |
skipping path collisions. |
| 65 |
.TP |
| 66 |
.B \-m, \-\-manifest |
| 67 |
Extract and decode the AndroidManifest.xml. |
| 68 |
.TP |
| 69 |
.BI \-sm " SPECIFY_MANIFEST" "\fR, \fP" \-\-specify\-manifest " SPECIFY_MANIFEST" |
| 70 |
Pass an encoded AndroidManifest.xml file to be decoded. |
| 71 |
.TP |
| 72 |
.B \-a, \-\-analyze |
| 73 |
Check an APK for static analysis evasion techniques. |
| 74 |
.TP |
| 75 |
.B \-v, \-\-version |
| 76 |
Retrieve version information. |
| 77 |
.SH SEE ALSO |
| 78 |
Project documentation: |
| 79 |
.UR https://erev0s.github.io/apkInspector/ |
| 80 |
.UE |
| 81 |
.SH AUTHOR |
| 82 |
apkInspector was written by erev0s <[email protected]>. |
| 83 |
.PP |
| 84 |
This manual page was written for the Debian project based on the program's |
| 85 |
.B \-\-help |
| 86 |
output. |