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]))

