Pyxamstore - Python Utility For Parsing Xamarin AssemblyStore Blob Files
2023-10-13 20:29:0 Author: www.kitploit.com(查看原文) 阅读量:22 收藏

This is an alpha release of an assemblies.blob AssemblyStore parser written in Python. The tool is capable of unpack and repackaging assemblies.blob and assemblies.manifest Xamarin files from an APK.

Installing

Run the installer script:

You can then use the tool by calling pyxamstore

Usage

Unpacking

I recommend using the tool in conjunction with apktool. The following commands can be used to unpack an APK and unpack the Xamarin DLLs:

apktool d yourapp.apk
pyxamstore unpack -d yourapp/unknown/assemblies/

Assemblies that are detected as compressed with LZ4 will be automatically decompressed in the extraction process.

Repacking

If you want to make changes to the DLLs within the AssemblyStore, you can use pyxamstore along with the assemblies.json generated during the unpack to create a new assemblies.blob file(s). The following command from the directory where your assemblies.json file exists:

From here you'll need to copy the new manifest and blobs as well as repackage/sign the APK.

Additional file format details can be found on my personal website.

  • Python3 support (working on it!)
  • DLLs that have debug/config data associated with them

Pyxamstore - Python Utility For Parsing Xamarin AssemblyStore Blob Files Pyxamstore - Python Utility For Parsing Xamarin AssemblyStore Blob Files Reviewed by Zion3R on 9:29 AM Rating: 5


文章来源: http://www.kitploit.com/2023/10/pyxamstore-python-utility-for-parsing.html
如有侵权请联系:admin#unsafe.sh