[File] [PATCH] Detect Android APK files

FC Stegerman flx at obfusk.net
Sun Jan 8 16:17:27 UTC 2023


Hi!

I've attached a patch to detect (many, but sadly not all) Android APK
files (which are Zip archives) based on APK-specific file names found
in the first local file header.

I've tested it on a collection of about 2000 .apk files from F-Droid
(from a build in 2021) and a few hundred recent ones (e.g. to test
zipflinger virtual entry [1] detection): it identified 99% of them
correctly.

- FC

[1] https://github.com/obfusk/apksigcopier#what-about-apks-signed-by-gradlezipflingersignflinger-instead-of-apksigner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apk.patch
Type: text/x-diff
Size: 2076 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20230108/cd47afea/attachment.bin>


More information about the File mailing list