You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System Windows 10 64bit native (no WSL) -
Java: Eclipse Adoptium OpenJDK 11
Steps to Reproduce
apktool d --no-res --no-src <apk-filename>
Alternatively apktool d <apk-filename>
If you decompile an APK on Windows which contains resource files or other entries that only differ in their file name case, apktool shows no warning indicating that the decompilation failed. In my opinion apktool should show a warning or error if it overwrites a file when extracting resources or other files (unless -f option is set).
This would also be useful on Linux in case an file entry exists more than one time in the APK file (this should still be possible or does newer Android versions reject such APK files?).
The text was updated successfully, but these errors were encountered:
Android rejects files that attempt this in the APK. This was used for some injections attacks where the application was signed for AndroidManifest.xml, but androidManifest.xml could be in application and in some situations loaded over the other. This was way back in Gingerbread if memory is right.
Information
Steps to Reproduce
apktool d --no-res --no-src <apk-filename>
apktool d <apk-filename>
If you decompile an APK on Windows which contains resource files or other entries that only differ in their file name case, apktool shows no warning indicating that the decompilation failed. In my opinion apktool should show a warning or error if it overwrites a file when extracting resources or other files (unless
-f
option is set).This would also be useful on Linux in case an file entry exists more than one time in the APK file (this should still be possible or does newer Android versions reject such APK files?).
The text was updated successfully, but these errors were encountered: