serfend / pydumpck

a multi-threads tool for decompile exe,elf,pyz,pyc packed by python which is base on pycdc and uncompyle6.
https://pypi.org/project/pydumpck/
289 stars 34 forks source link

"Could not find COOKIE magic pattern!" #31

Open SonarServices opened 1 year ago

SonarServices commented 1 year ago

Traceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\user\AppData\Local\Programs\Python\Python310\Scripts\pydumpck.exe__main.py", line 7, in File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pydumpck\pyinstaller_dump.py", line 118, in run return dmp.main(**vars(args)) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pydumpck\py_common_dump__init__.py", line 203, in main self.result = self.action_dispatchdispatch_to File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pydumpck\py_common_dump\init.py", line 121, in handle_arch_file arch = get_archive(filename=target_file) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\pydumpck\py_common_dump\init.py", line 25, in get_archive arch = viewer._open_toplevel_archive(filename) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\utils\cliutils\archive_viewer.py", line 126, in _open_toplevel_archive return CArchiveReader(filename) File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\PyInstaller\archive\readers.py", line 90, in init__ raise ArchiveReadError("Could not find COOKIE magic pattern!") PyInstaller.loader.pyimod01_archive.ArchiveReadError: Could not find COOKIE magic pattern!

serfend commented 1 year ago

could you upload your sample

SonarServices commented 1 year ago

On Fri 19. May 2023 at 04:17, Serfend @.***> wrote:

could you upload your sample

— Reply to this email directly, view it on GitHub https://github.com/serfend/pydumpck/issues/31#issuecomment-1553912364, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5DXYDI7L5W3H3QXKY7I32LXG3J37ANCNFSM6AAAAAAYHC4ZO4 . You are receiving this because you authored the thread.Message ID: @.***>

I will tomorrow but be warned the sample is a malicious file.

serfend commented 1 year ago

got it

abdullahqasim01 commented 1 year ago

I am having the same problem. I am giving the link to file and I want to decompile "Checker.exe".

https://drive.google.com/file/d/19UUNvg0hHu50jTBZgIl6qQb-hJ1yCK0K/view?usp=sharing

serfend commented 11 months ago

failure to download,could you please upload via github comments