DissectMalware / pyxlsb2

an Excel 2007+ Binary Workbook (xlsb) parser for Python
Apache License 2.0
19 stars 11 forks source link

IndexError: list index out of range #7

Open Hyperrick opened 3 years ago

Hyperrick commented 3 years ago

Hello,

I want to use pyxlsb2 for reading an .xlsb file. I found some files which doesn't seem to open while other work. Opening with pyxlsb works, pyxlsb2 not.

I have two files:

  1. x.xlsb (works)
  2. y.xlsb (doesn't work)

Source code:

from pyxlsb2 import open_workbook

with open_workbook("y.xlsb") as wb:
    for sheet in wb.sheets:
        print(sheet)

I can't find any difference in the files. Their both are .xlsb. files. I need to see if the files have any hidden worksheets. This is not possible with pyxlsb only with pyxlsb2 as I know so far.

Best regards

Patrick

DissectMalware commented 3 years ago

Can you please share the sample files so I can also check?

Hyperrick commented 3 years ago

Can you please share the sample files so I can also check?

Sure, i've attached it here (anonymized test_file.zip

).

Hyperrick commented 3 years ago

Bump any updates on this? May I can assist with anything?