From 56cda2962f4df61d4a7904d5c20f919b1cc63c85 Mon Sep 17 00:00:00 2001 From: Xiang Chen Date: Tue, 23 Jul 2024 09:47:18 +0000 Subject: [PATCH] XLSX allow more extensions --- analyzer/windows/modules/packages/xls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzer/windows/modules/packages/xls.py b/analyzer/windows/modules/packages/xls.py index 3a9402d6c8a..8022f4b875c 100644 --- a/analyzer/windows/modules/packages/xls.py +++ b/analyzer/windows/modules/packages/xls.py @@ -29,7 +29,7 @@ def __init__(self, options=None, config=None): The .xls filename extension will be added automatically.""" def start(self, path): - if not path.endswith((".xls", ".xlsx")): + if not path.endswith((".xls", ".xlsx", ".xlsb", ".xlsm")): path = check_file_extension(path, ".xls") excel = self.get_path_glob("EXCEL.EXE") return self.execute(excel, f'"{path}" /dde', path)