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

python mdplist_cli.py /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.1.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.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mdplistlib-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 52240ff8862797b20cc3b604661b16b210bbe8c6529bf5ac17472ae012fedc9e
MD5 87a6a162a043b6251495919aefd26757
BLAKE2b-256 3c5cfd124b6bf051c99557ad3d375c852ddee7dc588d9c68ded35f434a9ee1a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mdplistlib-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4541bbe5a4fd1517742b965e26d04419a57c16fb3352960501199d18d364945a
MD5 8073867f133531f6077c700a4fe5660c
BLAKE2b-256 e07ae71e627cc552280847accd9410b6f819c3f77de20b4bdca33384877a3793

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