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.2.tar.gz (5.1 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.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdplistlib-0.1.2.tar.gz
  • Upload date:
  • Size: 5.1 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.2.tar.gz
Algorithm Hash digest
SHA256 1348c7bdcfc88041d974a5df2cb2ac95adf89157570ed9a71d31a3a5140738f4
MD5 187b02b57caf404d78619fcbeaea45e4
BLAKE2b-256 d5deee4cf18ef8db6af07c81d0fb6226505013a63c19f06d53ed22bfd18aa482

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mdplistlib-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 08456c0fcd524db133889acbd0bbf1e490b05ccedd7287edea762fe4138d4d7c
MD5 2e0c4ee4c644f4375b75661a76e15a08
BLAKE2b-256 326e5b0d1c0eba92c72f1fdf9e9b1d29b2dc70ef35d5227ce8794d12be00f6a3

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