From d68ef84279280eba39c59be241882ca305f59c00 Mon Sep 17 00:00:00 2001 From: extremecoders-re Date: Wed, 11 May 2022 12:36:50 +0300 Subject: [PATCH] Ignore pyinstaller runtime options, Fixes #44 --- pyinstxtractor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyinstxtractor.py b/pyinstxtractor.py index 10d29e0..8c1c865 100644 --- a/pyinstxtractor.py +++ b/pyinstxtractor.py @@ -302,6 +302,12 @@ class PyInstArchive: # packages and modules are pyc files with their header's intact self._writeRawData(entry.name + '.pyc', data) + elif entry.typeCmprsData == b'd' or entry.typeCmprsData == b'o': + # d -> ARCHIVE_ITEM_DEPENDENCY + # o -> ARCHIVE_ITEM_RUNTIME_OPTION + # These are runtime options, not files + pass + else: self._writeRawData(entry.name, data)