Apk逆向
反编译:
1 | java -jar apktool_2.6.0.jar d out_old.apk -o out_old |
在打包回去:
1 | java -jar apktool_2.6.0.jar b out_old -o out.apk |
对齐:
1 | SDK\Sdk\build-tools\29.0.2\zipalign -f 4 out.apk out_zipalign.apk |
签名:
1 | SDK\Sdk\build-tools\29.0.2\apksigner sign -ks key.jks -ks-key-alias key -ks-pass pass:123456 -key-pass pass:123456789 -out app_singed.apk out_zipalign.apk |
查看dex文件代码:
1 | java -jar apktool_2.7.0.jar d lll.apk |