hansengianto / Python-dsstore

A library for parsing .DS_Store files and extracting file names

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python .DS_Store parser

This repository contains a parser for Apple's .DS_Store file format.

A sample file form a CTF is included in the ./samples/ directory and the you can try the parser using python3 main.py ./samples/.DS_Store.ctf.

Here's my blogpost that tries to explain the structure and format in detail: https://0day.work/parsing-the-ds_store-file-format/

Usage

$ python main.py samples/.DS_Store.ctf 
Count:  6
favicon.ico
flag
static
templates
vulnerable.py
vulnerable.wsgi

Useful ressources

I found the following links to be quite helpful while developing the parser:

License

MIT - See License.md

About

A library for parsing .DS_Store files and extracting file names

License:MIT License


Languages

Language:Python 100.0%