C:\Python37\Lib\site-packages\PyInstaller\utils\cliutils>archive_viewer.py D:\work\pediy_2019_ctf\2019q4\02-tea-ZhongyaRing\tea1\CM.exe
pos, length, uncompressed, iscompressed, type, name
[(0, 252, 326, 1, 'm', 'struct'),
(252, 1104, 1807, 1, 'm', 'pyimod01_os_path'),
(1356, 4372, 9350, 1, 'm', 'pyimod02_archive'),
(5728, 7422, 18670, 1, 'm', 'pyimod03_importers'),
(13150, 1863, 4171, 1, 's', 'pyiboot01_bootstrap'),
(15013, 754, 1178, 1, 's', 'CM'),
(15767, 480, 1027, 1, 'b', 'CM.exe.manifest'),
(16247, 20112, 36352, 1, 'b', 'Crypto\\Cipher\\_AES.cp37-win_amd64.pyd'),
(36359, 7603, 15872, 1, 'b', 'Crypto\\Hash\\_SHA256.cp37-win_amd64.pyd'),
(2406251, 1598380, 3745280, 1, 'b', 'python37.dll'),
(4004631, 49687, 137216, 1, 'b', 'pywintypes37.dll'),
... 省略若干行 ...
(5002231, 0, 0, 0, 'o', 'pyi-windows-manifest-filename CM.exe.manifest'),
(5002231, 214384, 781191, 1, 'x', 'base_library.zip'),
(5216615, 1467669, 1467669, 0, 'z', 'PYZ-00.pyz')]
?
U: go Up one level
O <name>: open embedded archive name
X <name>: extract name
Q: quit
? X CM
to filename? CM.pyc
? O PYZ-00.pyz
Name: (ispkg, pos, len)
{'CMpub': (0, 17, 2250),
'Crypto': (1, 2267, 597),
... 省略若干行 ...
'general': (0, 387075, 918),
'genericpath': (0, 387993, 1775),
'getopt': (0, 389768, 3121),
... 省略若干行 ...
'xml.sax.xmlreader': (0, 1431869, 5400),
'zipfile': (0, 1437269, 23205)}
?
U: go Up one level
O <name>: open embedded archive name
X <name>: extract name
Q: quit
? X CMpub
to filename? CMpub.pyc
? X general
to filename? general.pyc
?