CRX Format Package
2023-5-16 16:50:1 Author: blog.cerbero.io(查看原文) 阅读量:14 收藏

Skip to content

We have released the “CRX Format” package for all licenses of Cerbero Suite Standard and Advanced. This package provides support for the Chrome extension format.

The package also allows to download Chrome extensions by their public URL.

Chrome extensions can be downloaded either from the main window or from the analysis workspace action.

The CRX Format package is exposed to the SDK:

from Pro.Core import *
from Pkg.CRX import *

def parseCRX(fname):
    c = createContainerFromFile(fname)
    if c.isNull():
        return
    obj = CRXObject()
    if not obj.Load(c):
        return
    range = obj.GetArchiveRange()
    if range:
        # prints out the range of the embedded Zip archive
        print("content offset:", hex(range.offset), "size:", hex(range.size))

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