This is a quick Python script for extracting files and metadata from .one
files. At the time of the creation (2023-01-20) of this script there appear to be no Python scripts that can extract files or metadata from objects
To install OneNoteExtractor, we recommend using something like this:
cd /path/to/onenoteextractor/ && python -m pip install .
For examples of how to use OneNoteExtractor as a library, review the code in cli.py
Following successful installation of OneNoteExtractor a new CLI utility will be available, for usage see:
one-extract --help
one-extract /path/to/file.one --extract-files
one-extract /path/to/file.one --extract-meta
one-extract /path/to/file.one --extract-files --password 1234
This is only intended as an interim solution, until someone with a greater understanding of the .one
file format comes up with something more robust.
It was created in response to an uptick in malicious .one
file extensions being delivered by various malspam actors.