Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS ipa files #2

Open
pmqs opened this issue Jul 13, 2021 · 3 comments
Open

iOS ipa files #2

pmqs opened this issue Jul 13, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@pmqs
Copy link
Owner

pmqs commented Jul 13, 2021

These are zip file. Some use compression method 99 to store a payload compressed with LZFSE

Method 99 is already registered in APPNOTE for AES encryption.

May be able to infer LZFSE if it has a signature.

@pmqs pmqs self-assigned this Jul 13, 2021
@pmqs pmqs added the enhancement New feature or request label Jul 13, 2021
@pmqs
Copy link
Owner Author

pmqs commented Jun 27, 2022

Sample IPA File, 534.ipa, available at https://sourceforge.net/p/sevenzip/discussion/45797/thread/407a191c4f/

@pmqs
Copy link
Owner Author

pmqs commented Aug 10, 2023

@pmqs
Copy link
Owner Author

pmqs commented Aug 10, 2023

From https://github.com/lzfse/lzfse/blob/master/src/lzfse_internal.h

looks like magic id "bvx"

#define LZFSE_NO_BLOCK_MAGIC             0x00000000 // 0    (invalid)
#define LZFSE_ENDOFSTREAM_BLOCK_MAGIC    0x24787662 // bvx$ (end of stream)
#define LZFSE_UNCOMPRESSED_BLOCK_MAGIC   0x2d787662 // bvx- (raw data)
#define LZFSE_COMPRESSEDV1_BLOCK_MAGIC   0x31787662 // bvx1 (lzfse compressed, uncompressed tables)
#define LZFSE_COMPRESSEDV2_BLOCK_MAGIC   0x32787662 // bvx2 (lzfse compressed, compressed tables)
#define LZFSE_COMPRESSEDLZVN_BLOCK_MAGIC 0x6e787662 // bvxn (lzvn compressed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant