The aim is to check mutliple APK files in order to know if they refer to the same official Android app
- check integrity of a list of apk files
- compare public keys between mutliple apk files
TODO : parse Android binary XML
Usage
java -jar apkChecker.jar -l
-l / -list | list of jars with separated with empty space(s) |
-v / -verify | verify java archive |
-c / -comparePubkey | compare public keys of jars |
Exemple : java -jar ./apkchecker-1.0.jar -l ~/test/app-debug.apk ~/test/app-debug3.apk -v -c
Output Exemples
Library used
- rewrite of JarSigner by Sun Microsystems under GPLv2 License
- android-sun-jarsign-support-1.1.jar for JarSigner dependencies (NetscapeCertTypeExtension)
- sun.misc.BASE64Decoder.jar for Base64
JDK 1.7 Eclipse