8000 Cannot extract AndroidManifest.xml from valid apk file. · Issue #337 · zlib-ng/minizip-ng · GitHub
[go: up one dir, main page]

Skip to content

Cannot extract AndroidManifest.xml from valid apk file. #337

Closed

Description

@mstoicoi

archive_bug.zip
Unfortunately minizip is unable to extract the attached archives.
These are valid android applications (apk). They install on the phone and run. They are malware.


Minizip 2.7.3 - https://github.com/nmoinvaz/minizip
---------------------------------------------------
Archive 6d60779a0e36bf4f025c60cd403cc646.apk
Extracting META-INF/MANIFEST.MF
Extracting META-INF/NM-2LCA8.SF
Extracting META-INF/NM-2LCA8.RSA
Extracting assets/D5j5-FcgbHGYWvA1IKkiZ7iS.db
Extracting res/drawable/ic_launcher.png
Extracting res/xml/lksxmlvqbsyq.xml
Extracting Ç\ε╓B☻
Error -111 saving zip entries to disk 6d60779a0e36bf4f025c60cd403cc646.apk
Minizip 2.7.3 - https://github.com/nmoinvaz/minizip
---------------------------------------------------
Archive c6afb83ab23a6e031ced03506d383d4a.apk
Extracting META-INF/MANIFEST.MF
Extracting META-INF/CGEUTKAN.SF
Extracting META-INF/CGEUTKAN.RSA
Extracting assets/_el16j_lk2JuxvXzWSMsEo8_.db
Extracting res/drawable/ic_launcher.png
Extracting res/xml/zypdmtjtbnvb.xml
Extracting ≡C£↓)☻
Error -111 saving zip entries to disk c6afb83ab23a6e031ced03506d383d4a.apk

Issue is with AndroidManifest.xml file
image

Activity

  1. nmoinvaz commented on Nov 5, 2018

    @nmoinvaz
    Member

    Looks like the extrafield is malformed. I have added some extra checks in to make sure that it doesn't cause any damage and fixed the filename so it is read in such cases correctly. Check dev branch for changes. Thanks for reporting.

  2. Coeur commented on Nov 6, 2018

    @Coeur
    Collaborator

    They are malware.

    Ah ah, so the request is to support malwares? ;)

  3. mstoicoi commented on Nov 6, 2018

    @mstoicoi
    Author

    Check dev branch for changes.

    Works great! Thank you, Nathan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixedIssue or bug has been fixed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0