Simple extractor for OneNote files.
Project description
OneNote Extractor
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
Installation
To install OneNote Extractor, we recommend using something like this:
python -m pip install one-extract
Usage as a library
For examples of how to use OneNoteExtractor as a library, review the code in cli.py
CLI usage
Following successful installation of OneNoteExtractor a new CLI utility will be available, for usage see:
one-extract --help
Extract embedded files
one-extract /path/to/file.one --extract-files
Display metadata
one-extract /path/to/file.one --extract-meta
Extract embedded files from a password protected notebook with password 1234
one-extract /path/to/file.one --extract-files --password 1234
Disclaimer
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file one_extract-0.1.4.tar.gz.
File metadata
- Download URL: one_extract-0.1.4.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b086d17a24cb3f611d50359f080bc1d22490d794eee8cf61adf16f5b4395dc4
|
|
| MD5 |
42a726c191da2466eb0a6cdfb7a3ecd8
|
|
| BLAKE2b-256 |
2987aaff4bcbfc2304df16a65fee72b1656a71bc33bd87c279a905c420ea058e
|
Provenance
The following attestation bundles were made for one_extract-0.1.4.tar.gz:
Publisher:
publish.yml on volexity/one-extract
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
one_extract-0.1.4.tar.gz -
Subject digest:
3b086d17a24cb3f611d50359f080bc1d22490d794eee8cf61adf16f5b4395dc4 - Sigstore transparency entry: 297347150
- Sigstore integration time:
-
Permalink:
volexity/one-extract@ed3b0740e6d5c031b0b3d2f260ae5db45aec0a38 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/volexity
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ed3b0740e6d5c031b0b3d2f260ae5db45aec0a38 -
Trigger Event:
push
-
Statement type:
File details
Details for the file one_extract-0.1.4-py3-none-any.whl.
File metadata
- Download URL: one_extract-0.1.4-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c57c33329f4aa6ee047e9716b8e0de98af93fedc8d4359e6ac1251557c33213f
|
|
| MD5 |
40a3bec0fa01ab6a3103b2800a2e10c1
|
|
| BLAKE2b-256 |
a9a990a45548def0e95f42eb60b77a57df3642a4845ff8e1f9266b088d020865
|
Provenance
The following attestation bundles were made for one_extract-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on volexity/one-extract
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
one_extract-0.1.4-py3-none-any.whl -
Subject digest:
c57c33329f4aa6ee047e9716b8e0de98af93fedc8d4359e6ac1251557c33213f - Sigstore transparency entry: 297347158
- Sigstore integration time:
-
Permalink:
volexity/one-extract@ed3b0740e6d5c031b0b3d2f260ae5db45aec0a38 -
Branch / Tag:
refs/tags/v0.1.4 - Owner: https://github.com/volexity
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ed3b0740e6d5c031b0b3d2f260ae5db45aec0a38 -
Trigger Event:
push
-
Statement type: