Skip to main content

A library for parsing DEBA/MDPLIST files.

Project description

mdplistlib

mdplistlib is a Python library for parsing DEBA/MDPLIST files, a format found in iOS filesystems. The library provides an easy-to-use interface for reading and extracting data from these binary files.

See blog article at https://bluecrewforensics.com/2024/12/03/deba-mdplist-files/


Installation

You can install mdplistlib via pip:

pip install mdplistlib

Code Usage

Parse File

import mdplist


# Load a file and parse its contents
parsed_data = mdplist.load("example.mdplist")
print(parsed_data)

Parse Raw Bytes

import mdplist

with open('example.file') as file:
    # extract the data from the file or some other nested file structure
    data = file.read(250) #binary data should begin with 0xDEBA0001
    
    # Load a file and parse its contents
    parsed_data = mdplist.loads(data)
    print(parsed_data)

Command Line Usage

Parse File

After installing with pip use the command line entry point as shown below.

mdplist-cli /path/to/file.mdplist

Above command will create a new file at /path/to/file.json

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mdplistlib-0.1.3.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mdplistlib-0.1.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file mdplistlib-0.1.3.tar.gz.

File metadata

  • Download URL: mdplistlib-0.1.3.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for mdplistlib-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f3a3ad8899e65ef52b7c89d4a9ae23340befe55afdc14ca5aa2e09205ab91c31
MD5 8c93b6a4726a04461bf55810ed7e3b79
BLAKE2b-256 62ea5f47258f7f9012a5da196ca60c4969c37c350427f66e2648400fe8a137dd

See more details on using hashes here.

File details

Details for the file mdplistlib-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: mdplistlib-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for mdplistlib-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c34b9fdab2a851e6fb75e3eaded8822687123c2325a83be5d637895fb873708f
MD5 f24b4c9c495b0ffc044ed57a8ce8014a
BLAKE2b-256 f6cb5b36646b3ccda09979adca14e61e54e57d6a7362c28ecebb762e1e4ae6dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page