OneNote Format Package: All Licenses
2023-3-23 15:39:11 Author: blog.cerbero.io(查看原文) 阅读量:22 收藏

Skip to content

As of today, the “OneNote Format” package is available to all licenses of Cerbero Suite! The package was previously released for commercial licenses only.

Installing the package from Cerbero Store takes only a few mouse clicks.

Once the package is installed, you can directly inspect OneNote documents in Cerbero Suite and all embedded files are automatically extracted and ready to be inspected.

The OneNote package can also be used programmatically.

from Pro.Core import *
from Pkg.OneNote.Core import OneNoteObject

def parseOneNoteDocument(fname):
    c = createContainerFromFile(fname)
    if c.isNull():
        return
    obj = OneNoteObject()
    if not obj.Load(c):
        return
    files = obj.GetEmbeddedFiles()
    for file in files:
        print("offset:", hex(file[0]), "size:", hex(file[1]))

文章来源: https://blog.cerbero.io/?p=2614
如有侵权请联系:admin#unsafe.sh