Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gehaxelt/Python-dsstore
A library for parsing .DS_Store files and extracting file names
https://github.com/gehaxelt/Python-dsstore
Last synced: 21 days ago
JSON representation
A library for parsing .DS_Store files and extracting file names
- Host: GitHub
- URL: https://github.com/gehaxelt/Python-dsstore
- Owner: gehaxelt
- License: mit
- Created: 2018-03-11T23:49:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-28T17:47:40.000Z (over 3 years ago)
- Last Synced: 2024-11-21T12:52:26.111Z (21 days ago)
- Language: Python
- Size: 11.7 KB
- Stars: 446
- Watchers: 7
- Forks: 55
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
- awesome-hacking-lists - gehaxelt/Python-dsstore - A library for parsing .DS_Store files and extracting file names (Python)
README
# 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:
- https://wiki.mozilla.org/DS_Store_File_Format
- http://search.cpan.org/~wiml/Mac-Finder-DSStore/DSStoreFormat.pod
- https://digi.ninja/projects/fdb.php# License
MIT - See License.md