Giter VIP home page Giter VIP logo

pydumpck's Introduction

pypi version pypi download GitHub release GitHub All Releases GitHub last commit GitHub Workflow Status

WindowsLinuxUbuntuKaliFreeBSDDeepinDebianCent OS

What?

pydumpck is a multi-threads tool for decompile exe,elf,pyz,pyc packed by python which is base on pycdc and uncompyle6.sometimes its py-file result not exactly right ,maybe could use uncompyle6.

Install

pip install pydumpck

Usage

usage: pydumpck [-h] [-o OUTPUT_DIRECTORY] [-w THREAD] [-t TIMEOUT] [--session-timeout TIMEOUT_SESSION]
                [-y TARGET_FILE_TYPE] [-d [DECOMPILE_FILE ...]] [--header [STRUCT_HEADERS ...]] [-v [SHOW_VERSION]]
                [-p [PLUGIN ...]]
                [target_file]

pydumpck is a multi-threads tool for decompile exe,elf,pyz,pyc packed by python which is base on pycdc and
uncompyle6.sometimes its py-file result not exactly right ,maybe could use uncompyle6.

positional arguments:
  target_file           file to extract or decompiler,combine with -y for type select.

options:
  -h, --help            show this help message and exit
  -o OUTPUT_DIRECTORY, --output OUTPUT_DIRECTORY
                        output archive file to (default: output_2938294).
  -w THREAD, --thread THREAD
                        thread count for running (default: 0) cpu-count * 8.
  -t TIMEOUT, --timeout TIMEOUT
                        timeout running single decompiler (default: 10).
  --session-timeout TIMEOUT_SESSION
                        timeout running total task (default: 10).
  -y TARGET_FILE_TYPE, --type TARGET_FILE_TYPE
                        file-type of input file,can use pe,exe,elf,pyc,pyz (default: None : auto guess).
  -d [DECOMPILE_FILE ...], --decompile_file [DECOMPILE_FILE ...]
                        only decompile referred file for quick complete (default: None).
  --header [STRUCT_HEADERS ...]
                        specify pyc header hex-string (default: None).if not set , pydumpck will use struct.pyc's
                        header(if possible) and default header.eg:6f0d0d0a 00000000 00000000 ffffffff
  -v [SHOW_VERSION], --version [SHOW_VERSION]
                        show version of package
  -p [PLUGIN ...], --plugin [PLUGIN ...]
                        enable decompiler plugins,split by space .example: `--plugin pycdc uncompyle6` (default:
                        ['pycdc']).available:pycdc,uncompyle6

Quick Start

pydumpck xxx.exe
pydumpck xxx.elf
pydumpck xxx.pyc
pydumpck xxx.pyz
pydumpck xxx.exe --output ./output --thread 8 --timeout 10

Example

  • -p/--plugin specified which plugin to use for decompile (pycdc|uncompyle6)

pydumpck xxx.exe -p uncompyle6

pydumpck xxx.exe -p pycdc uncompyle6

  • -d/--decompile_file specified which file(s) to decompile for a faster run

pydumpck xxx.exe -d main for only target main.py

pydumpck xxx.exe -d main lib_base64 secert for targets main.py and lib_base64.py and secert.py

Demo

  • pyc with header been tampered with
    • (Warning:gif with size 5MB)pyc-fix_header-demo

Notice

pycdc speed is more than 10 times faster than uncompyle6 , and uncompyle6 is not support for python that version above 3.8.

however pycdc sometimes return a not precisely right result.

in pydumpck , you can use --plugin uncompyle6 for single-use or --plugin pycdc uncompyle6 for both-use.

Status

Alt

pydumpck's People

Contributors

serfend avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pydumpck's Issues

Bug-Report[log]output info line is conflict for multi-writter

[+] decompiler bytecode ./output/PYZ-00.pyz_extract\xml\sax\expatreader.pyc 3722836
[+] decompiler bytecode ./output/PYZ-00.pyz_extract\selectors.pyc 4139
[!]fail to decompiler bytecode ./output/PYZ-00.pyz_extract\codeop.pyc
[!]fail to decompiler bytecode ./output/PYZ-00.pyz_extract\importlib\__init__.pyc
[+] decompiler bytecode ./output/PYZ-00.pyz_extract\http\server.pyc 16663
[!]fail to decompiler bytecode ./output/PYZ-00.pyz_extract\unittest\suite.pyc
[+] decompiler bytecode ./output/PYZ-00.pyz_extract\pkgutil.pyc 8418
[+] decompiler bytecode ./output/PYZ-00.pyz_extract\multiprocessing\util.pyc 4181
 [*] decompile source file:201/206[+] decompiler bytecode ./output/PYZ-00.pyz_extract\zipimport.pyc 64958459
 [*] decompile source file:202/206[+] decompiler bytecode ./output/PYZ-00.pyz_extract\_pydecimal.pyc 12607
[+] decompiler bytecode ./output/PYZ-00.pyz_extract\_strptime.pyc 4122
[!]fail to decompiler bytecode ./output/PYZ-00.pyz_extract\asyncio\runners.pyc Unsupported opcode: CALL_FINALLY
Unsupported opcode: CALL_FUNCTION_EX

 [*] decompile source file:205/206[+] decompiler bytecode ./output/PYZ-00.pyz_extract\asyncio\selector_events.pyc 4155
 [*] decompile source file:206/206

Unable to decompile

Hello!

2023-09-17 22:05:45,051 [-] pycdc_file not exist , trying build it...
51426 -: pycdc_file not exist , trying build it...
2023-09-17 22:05:45,051 [-] pycdc_file not exist , trying build it...
51426 -: pycdc_file not exist , trying build it...
51426 -: pycdc_file not exist , trying build it...
2023-09-17 22:05:45,051 [-] pycdc_file not exist , trying build it...
51427 -: pycdc_file not exist , trying build it...
2023-09-17 22:05:45,053 [-] pycdc_file not exist , trying build it...
51428 -: pycdc_file not exist , trying build it...
2023-09-17 22:05:45,053 [-] pycdc_file not exist , trying build it...
51429 -: pycdc_file not exist , trying build it...

File I'm trying to decompile, would be glad for help in decompiling:

https://cdn1.frocdn.ch/eKWol75q7lrtlcU.exe

ImportError: cannot import name 'get_archive'

Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Руслан\AppData\Local\Programs\Python\Python311\Scripts\pydumpck.exe_main
.py", line 4, in
File "C:\Users\Руслан\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck_init
.py", line 22, in
from pydumpck.pyinstaller_dump import run
File "C:\Users\Руслан\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\pyinstaller_dump.py", line 4, in
from pydumpck.py_common_dump import CommonDump
File "C:\Users\Руслан\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_common_dump_init_.py", line 7, in
from ..py_package import PackageStruct, PackageDescription
File "C:\Users\Руслан\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_package_init_.py", line 1, in
from .package_description import PackageDescription
File "C:\Users\Руслан\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_package\package_description_init_.py", line 6, in
from PyInstaller.utils.cliutils.archive_viewer import get_archive, get_data, get_content, get_archive_content
ImportError: cannot import name 'get_archive' from 'PyInstaller.utils.cliutils.archive_viewer' (C:\Users\Руслан\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\utils\cliutils\archive_viewer.py)

UnboundLocalError: local variable 'err' referenced before assignment

Hello everyone, I have a problem and I hope someone can help me.

Processing an exe file with pydumpck I get this error --> UnboundLocalError: local variable 'err' referenced before assignment
The program was written in python (ver 3.11.3) and developed with kivy library.

Any suggestions?

plugins loaded with ['pycdc'] Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Users\GREEN VISION\AppData\Local\Programs\Python\Python311\Scripts\pydumpck.exe\__main__.py", line 7, in <module> File "C:\Users\GREEN VISION\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\pyinstaller_dump.py", line 93, in run return dmp.main(**vars(args)) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\GREEN VISION\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_common_dump\__init__.py", line 85, in main os.chdir(os.path.dirname(target_file)) OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: ''

plugins loaded with ['pycdc']
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\GREEN VISION\AppData\Local\Programs\Python\Python311\Scripts\pydumpck.exe_main
.py", line 7, in
File "C:\Users\GREEN VISION\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\pyinstaller_dump.py", line 93, in run
return dmp.main(**vars(args))
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\GREEN VISION\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_common_dump_init
.py", line 85, in main
os.chdir(os.path.dirname(target_file))
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: ''

how do i get utf8 decompiled code?

hi, i just tried this amazing module and for most of compiled files with pyinstaller is working great!

but i would like to let pydumpck decompile code based on utf8, due to strings like this

\xeb\x9d\xbc\xec\x9d\xb4\xec\x84\xa0\xec\x8a\xa4 \xeb\xa7\x8c\xeb\xa3\x8c!

how can i do that?

decompiling error pyc py 3.10

i have this message can you help me
Traceback (most recent call last):
File "/home/melsafty-linux/.local/bin/pydumpck", line 8, in
sys.exit(run())
File "/home/melsafty-linux/.local/lib/python3.10/site-packages/pydumpck/pyinstaller_dump.py", line 105, in run
return dmp.main(**vars(args))
File "/home/melsafty-linux/.local/lib/python3.10/site-packages/pydumpck/py_common_dump/init.py", line 121, in main
os.chdir(os.path.dirname(target_file))
FileNotFoundError: [Errno 2] No such file or directory: ''

Screenshot from 2022-09-23 13-54-11

OSError: [Errno 22] Invalid argument when using pydumpck

C:\Users\thndf\Downloads\cawjc\Shogibar.exe_extracted>pydumpck C:/Users/thndf/Downloads/cawjc/Shogibar.exe_extracted/ShogiBar.pyc
plugins loaded with ['pycdc']
[*] target file input:C:/Users/thndf/Downloads/cawjc/Shogibar.exe_extracted/ShogiBar.pyc
to:output_4244298
[*] start dump target file.
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\thndf\AppData\Local\Programs\Python\Python311\Scripts\pydumpck.exe\__main__.py", line 7, in <module>
  File "C:\Users\thndf\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\pyinstaller_dump.py", line 93, in run
    return dmp.main(**vars(args))
           ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\thndf\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_common_dump\__init__.py", line 101, in main
    result = self.action_dispatch[dispatch_to](target_file)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\thndf\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_common_dump\__init__.py", line 50, in handle_pyc_file
    shutil.copy(target_file, new_file)
  File "C:\Users\thndf\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 419, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "C:\Users\thndf\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 258, in copyfile
    with open(dst, 'wb') as fdst:
         ^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: 'output_4244298\\C:/Users/thndf/Downloads/cawjc/Shogibar.exe_extracted/ShogiBar.pyc'

Any idea why this error occurs? It seems to be some kind of problem with the path.

error help

Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Scripts\pydumpck.exe_main
.py", line 4, in
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck_init
.py", line 22, in
from pydumpck.pyinstaller_dump import run
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\pyinstaller_dump.py", line 4, in
from pydumpck.py_common_dump import CommonDump
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_common_dump_init_.py", line 7, in
from ..py_package import PackageStruct, PackageDescription
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_package_init_.py", line 1, in
from .package_description import PackageDescription
File "C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_package\package_description_init_.py", line 6, in
from PyInstaller.utils.cliutils.archive_viewer import get_archive, get_data, get_content, get_archive_content
ImportError: cannot import name 'get_archive' from 'PyInstaller.utils.cliutils.archive_viewer' (C:\Users\Admin\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\utils\cliutils\archive_viewer.py)

ERROR

OSError: [Errno 22] Invalid argument: 'output_4557329\C:\Users\Administrator

getting this when decompiling a .pyc

FileNotFoundError: [Errno 2] No such file or directory: ''

pydumpck h64.pyc --output ./output
2023-02-17 05:19:13,720 [+] pydumpck is a multi-threads tool for decompile exe,elf,pyz,pyc packed by python which is base on pycdc and uncompyle6.sometimes its py-file result not exactly right ,maybe could use uncompyle6.

pydumpck initilizing with 1.15.16
164 +: pydumpck is a multi-threads tool for decompile exe,elf,pyz,pyc packed by python which is base on pycdc and uncompyle6.sometimes its py-file result not exactly right ,maybe could use uncompyle6.

pydumpck initilizing with 1.15.16
2023-02-17 05:19:13,721 [*] plugins loaded with ['pycdc']
165 : plugins loaded with ['pycdc']
2023-02-17 05:19:13,722 [
] target file input:h64.pyc
to:./output
165 : target file input:h64.pyc
to:./output
2023-02-17 05:19:13,722 [
] start dump target file.
166 *: start dump target file.
Traceback (most recent call last):
File "/home/kali/Desktop/clone/hpro/venv/bin/pydumpck", line 8, in
sys.exit(run())
File "/home/kali/Desktop/clone/hpro/venv/lib/python3.10/site-packages/pydumpck/pyinstaller_dump.py", line 118, in run
return dmp.main(**vars(args))
File "/home/kali/Desktop/clone/hpro/venv/lib/python3.10/site-packages/pydumpck/py_common_dump/init.py", line 157, in main
os.chdir(os.path.dirname(target_file))
FileNotFoundError: [Errno 2] No such file or directory: ''

Unknown type 23 ↨

Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 2 ☻
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 2 ☻
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 1 ☺
Unknown type 100 d
Unknown type 2 ☻
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 100 d
Unknown type 1 ☺
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 4 ♦
Unknown type 23 ↨
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 23 ↨
Unknown type 23 ↨
Unknown type 0
Unknown type 1 ☺
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 38 &
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 100 d
 [*] decompile source file:0\13Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 4 ♦
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 100 d
Unknown type 1 ☺
Unknown type 100 d
Unknown type 100 d
Unknown type 1 ☺
Unknown type 100 d
Unknown type 1 ☺
Unknown type 1 ☺
Unknown type 101 e
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 4 ♦
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 38 &
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
 [*] decompile source file:0\13Unknown type 0
Unknown type 1 ☺
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 1 ☺
Unknown type 100 d
Unknown type 100 d
Unknown type 1 ☺
Unknown type 23 ↨
Unknown type 100 d
Unknown type 23 ↨
Unknown type 100 d
Unknown type 0
Unknown type 1 ☺
Unknown type 0
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 100 d
Unknown type 0
Unknown type 4 ♦
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 0
Unknown type 4 ♦
Unknown type 101 e
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 38 &
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 4 ♦
Unknown type 0
Unknown type 0
Unknown type 101 e
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
 [*] decompile source file:0\13Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺

OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect

1128 *: start dump target file.
Traceback (most recent call last):
File "C:\Users\micha\anaconda3\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\micha\anaconda3\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\micha\anaconda3\Scripts\pydumpck.exe_main
.py", line 7, in
File "C:\Users\micha\anaconda3\lib\site-packages\pydumpck\pyinstaller_dump.py", line 118, in run
return dmp.main(**vars(args))
File "C:\Users\micha\anaconda3\lib\site-packages\pydumpck\py_common_dump_init
.py", line 157, in main
os.chdir(os.path.dirname(target_file))
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: ''

error when decompile

2022-07-04 04:18:17,788 [!] fail to decompile bytecode on file:output_3731054\PYZ-00.pyz_extract\urllib3\util\timeout.pyc,with error:(UnboundLocalError("local variable 'e' referenced before assignment"), 'fail when handling output_3731054\PYZ-00.pyz_extract\urllib3\util\timeout.pyc -> output_3731054\PYZ-00.pyz_extract\urllib3\util\timeout.pyc.structed.pyc')

on decrypted .py

WARNING: Decompyle incomplete

"Could not find COOKIE magic pattern!"

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!

-o D:\

if os.path.exists(output_directory):
            logger.info(f'removing output_directory')
            try:
                shutil.rmtree(output_directory)
            except:
                pass

bye all data

bytes not str

logpath = input('\xe8\xaf\xb7\xe8\xbe\x93\xe5\x85\xa5\xe8\xa6\x81\xe6\x89\x93\xe5\x8c\x85\xe7\x9a\x84\xe6\x96\x87\xe4\xbb\xb6\xe8\xb7\xaf\xe5\xbe\x84\xef\xbc\x88\xe5\x9b\x9e\xe8\xbd\xa6\xe9\xbb\x98\xe8\xae\xa4\xe6\x89\x93\xe5\x8c\x85\xe6\x89\x80\xe6\x9c\x89ems log\xef\xbc\x8c\xe8\xb7\xaf\xe5\xbe\x84\xe6\xa0\xbc\xe5\xbc\x8f\xef\xbc\x9a/mroot/etc/log/ems*\xef\xbc\x89\xef\xbc\x9a')

not convert to str

# WARNING: Decompyle incomplete

when i tried to decomplye .pyc 39 version .. give just few lines then # WARNING: Decompyle incomplete...

from bs4.builder import TreeBuilder
import requests
from bs4 import BeautifulSoup
from concurrent.futures import ThreadPoolExecutor, as_completed
import sys
import os
import ctypes
import time
print('Checking Inter Connection : ')
time.sleep(1)
WARNING: Decompyle incomplete

can't run pydumpck: ModuleNotFoundError: No module named 'tinyaes'

here are the steps done:

c:\Prg\M>pip install pydumpck
Collecting pydumpck
  Downloading pydumpck-1.17.9-py3-none-any.whl.metadata (7.2 kB)
Collecting sgtpyutils>=1.16.0 (from pydumpck)
  Downloading sgtpyutils-1.17.13-py3-none-any.whl.metadata (4.9 kB)
Collecting pyinstaller>=5.10.1 (from pydumpck)
  Downloading pyinstaller-6.3.0-py3-none-win_amd64.whl.metadata (8.3 kB)
Collecting tinyaes (from pydumpck)
  Downloading tinyaes-1.1.0.tar.gz (71 kB)
     ---------------------------------------- 71.7/71.7 kB 788.4 kB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting uncompyle6>=3.9.0 (from pydumpck)
  Downloading uncompyle6-3.9.0-py38-none-any.whl (381 kB)
     ---------------------------------------- 381.1/381.1 kB 4.8 MB/s eta 0:00:00
Collecting xdis>=6.0.5 (from pydumpck)
  Downloading xdis-6.0.5-py310-none-any.whl (144 kB)
     ---------------------------------------- 144.9/144.9 kB 8.4 MB/s eta 0:00:00
Requirement already satisfied: setuptools>=42.0.0 in c:\python312\lib\site-packages (from pyinstaller>=5.10.1->pydumpck) (68.2.2)
Collecting altgraph (from pyinstaller>=5.10.1->pydumpck)
  Using cached altgraph-0.17.4-py2.py3-none-any.whl.metadata (7.3 kB)
Collecting pyinstaller-hooks-contrib>=2021.4 (from pyinstaller>=5.10.1->pydumpck)
  Downloading pyinstaller_hooks_contrib-2023.11-py2.py3-none-any.whl.metadata (15 kB)
Collecting packaging>=22.0 (from pyinstaller>=5.10.1->pydumpck)
  Using cached packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pefile>=2022.5.30 (from pyinstaller>=5.10.1->pydumpck)
  Using cached pefile-2023.2.7-py3-none-any.whl (71 kB)
Collecting pywin32-ctypes>=0.2.1 (from pyinstaller>=5.10.1->pydumpck)
  Using cached pywin32_ctypes-0.2.2-py3-none-any.whl.metadata (3.8 kB)
Collecting scidatetime>1.17.13 (from sgtpyutils>=1.16.0->pydumpck)
  Downloading scidatetime-1.17.15-py3-none-any.whl.metadata (4.5 kB)
Collecting pycryptodome (from sgtpyutils>=1.16.0->pydumpck)
  Downloading pycryptodome-3.19.0-cp35-abi3-win_amd64.whl.metadata (3.4 kB)
Collecting colorlog (from sgtpyutils>=1.16.0->pydumpck)
  Downloading colorlog-6.8.0-py3-none-any.whl.metadata (10 kB)
Collecting openpyxl>=3.1.0 (from sgtpyutils>=1.16.0->pydumpck)
  Downloading openpyxl-3.1.2-py2.py3-none-any.whl (249 kB)
     ---------------------------------------- 250.0/250.0 kB 15.0 MB/s eta 0:00:00
Collecting argparse (from sgtpyutils>=1.16.0->pydumpck)
  Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB)
Collecting httpx[http2] (from sgtpyutils>=1.16.0->pydumpck)
  Downloading httpx-0.26.0-py3-none-any.whl.metadata (7.6 kB)
Collecting redis (from sgtpyutils>=1.16.0->pydumpck)
  Downloading redis-5.0.1-py3-none-any.whl.metadata (8.9 kB)
Collecting fake-useragent (from sgtpyutils>=1.16.0->pydumpck)
  Downloading fake_useragent-1.4.0-py3-none-any.whl.metadata (13 kB)
Collecting six (from sgtpyutils>=1.16.0->pydumpck)
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pathlib2 (from sgtpyutils>=1.16.0->pydumpck)
  Downloading pathlib2-2.3.7.post1-py2.py3-none-any.whl (18 kB)
Collecting spark-parser<1.9.0,>=1.8.9 (from uncompyle6>=3.9.0->pydumpck)
  Downloading spark_parser-1.8.9-py3-none-any.whl (17 kB)
Collecting click (from xdis>=6.0.5->pydumpck)
  Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
INFO: pip is looking at multiple versions of xdis to determine which version is compatible with other requirements. This could take a while.
Collecting sgtpyutils>=1.16.0 (from pydumpck)
  Downloading sgtpyutils-1.17.9-py3-none-any.whl.metadata (1.4 kB)
  Downloading sgtpyutils-1.17.7-py3-none-any.whl.metadata (1.3 kB)
  Downloading sgtpyutils-1.17.5-py3-none-any.whl.metadata (1.3 kB)
  Downloading sgtpyutils-1.17.1-py3-none-any.whl.metadata (1.4 kB)
  Downloading sgtpyutils-1.17.0-py3-none-any.whl.metadata (1.4 kB)
  Downloading sgtpyutils-1.16.0-py3-none-any.whl.metadata (1.4 kB)
Collecting pyinstaller>=5.10.1 (from pydumpck)
  Using cached pyinstaller-6.2.0-py3-none-win_amd64.whl.metadata (8.3 kB)
INFO: pip is still looking at multiple versions of xdis to determine which version is compatible with other requirements. This could take a while.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If yo
u want to abort this run, press Ctrl + C.
  Downloading pyinstaller-6.1.0-py3-none-win_amd64.whl.metadata (8.2 kB)
  Downloading pyinstaller-6.0.0-py3-none-win_amd64.whl.metadata (8.2 kB)
  Downloading pyinstaller-5.13.2-py3-none-win_amd64.whl.metadata (8.3 kB)
  Downloading pyinstaller-5.13.1-py3-none-win_amd64.whl.metadata (8.3 kB)
  Downloading pyinstaller-5.13.0-py3-none-win_amd64.whl.metadata (8.3 kB)
Collecting pydumpck
  Downloading pydumpck-1.16.3-py3-none-any.whl.metadata (7.2 kB)
  Downloading pydumpck-1.16.2-py3-none-any.whl.metadata (7.1 kB)
  Downloading pydumpck-1.16.0-py3-none-any.whl (682 kB)
     ---------------------------------------- 682.9/682.9 kB 10.8 MB/s eta 0:00:00
Collecting sgtpyutils>=1.15.22 (from pydumpck)
  Downloading sgtpyutils-1.15.27-py3-none-any.whl.metadata (1.4 kB)
  Downloading sgtpyutils-1.15.25-py3-none-any.whl.metadata (1.3 kB)
  Downloading sgtpyutils-1.15.24-py3-none-any.whl.metadata (1.3 kB)
  Downloading sgtpyutils-1.15.23-py3-none-any.whl.metadata (1.3 kB)
  Downloading sgtpyutils-1.15.22-py3-none-any.whl (31 kB)
Collecting pydumpck
  Downloading pydumpck-1.15.21-py3-none-any.whl (682 kB)
     ---------------------------------------- 682.9/682.9 kB 8.6 MB/s eta 0:00:00
Collecting xdis>=6.0.4 (from pydumpck)
  Downloading xdis-6.0.4-py310-none-any.whl (139 kB)
     ---------------------------------------- 139.1/139.1 kB ? eta 0:00:00
Collecting sgtpyutils>=1.15.14 (from pydumpck)
  Downloading sgtpyutils-1.15.20-py3-none-any.whl (31 kB)
  Downloading sgtpyutils-1.15.17-py3-none-any.whl (31 kB)
  Downloading sgtpyutils-1.15.15-py3-none-any.whl (31 kB)
  Downloading sgtpyutils-1.15.14-py3-none-any.whl (30 kB)
Collecting pydumpck
  Downloading pydumpck-1.15.20-py3-none-any.whl (561 kB)
     ---------------------------------------- 561.5/561.5 kB 8.9 MB/s eta 0:00:00
  Downloading pydumpck-1.15.19-py3-none-any.whl (560 kB)
     ---------------------------------------- 560.8/560.8 kB 8.9 MB/s eta 0:00:00
  Downloading pydumpck-1.15.16-py3-none-any.whl (1.4 MB)
     ---------------------------------------- 1.4/1.4 MB 9.6 MB/s eta 0:00:00
  Downloading pydumpck-1.15.14-py3-none-any.whl (1.4 MB)
     ---------------------------------------- 1.4/1.4 MB 9.6 MB/s eta 0:00:00
  Downloading pydumpck-1.15.11-py3-none-any.whl (1.4 MB)
     ---------------------------------------- 1.4/1.4 MB 7.9 MB/s eta 0:00:00
Collecting sgtpyutils>=1.15.10 (from pydumpck)
  Downloading sgtpyutils-1.15.10-py3-none-any.whl (30 kB)
Collecting pydumpck
  Downloading pydumpck-1.15.8-py3-none-any.whl (1.4 MB)
     ---------------------------------------- 1.4/1.4 MB 8.6 MB/s eta 0:00:00
  Downloading pydumpck-1.14.6-py3-none-any.whl (1.4 MB)
     ---------------------------------------- 1.4/1.4 MB 9.6 MB/s eta 0:00:00
  Downloading pydumpck-1.7.62-py3-none-any.whl (1.4 MB)
     ---------------------------------------- 1.4/1.4 MB 8.6 MB/s eta 0:00:00
  Downloading pydumpck-1.6.168-py3-none-any.whl (1.4 MB)
     ---------------------------------------- 1.4/1.4 MB 9.5 MB/s eta 0:00:00
  Downloading pydumpck-1.6.164-py3-none-any.whl (548 kB)
     ---------------------------------------- 548.6/548.6 kB 11.5 MB/s eta 0:00:00
  Downloading pydumpck-1.5.132-py3-none-any.whl (544 kB)
     ---------------------------------------- 544.1/544.1 kB 8.6 MB/s eta 0:00:00
  Downloading pydumpck-1.5.126-py3-none-any.whl (543 kB)
     ---------------------------------------- 543.1/543.1 kB 8.6 MB/s eta 0:00:00
  Downloading pydumpck-1.5.125-py3-none-any.whl (543 kB)
     ---------------------------------------- 543.1/543.1 kB 8.6 MB/s eta 0:00:00
  Downloading pydumpck-1.5.114-py3-none-any.whl (542 kB)
     ---------------------------------------- 542.8/542.8 kB 8.6 MB/s eta 0:00:00
  Downloading pydumpck-1.5.113-py3-none-any.whl (542 kB)
     ---------------------------------------- 542.8/542.8 kB 8.6 MB/s eta 0:00:00
Installing collected packages: pydumpck
Successfully installed pydumpck-1.5.113

[notice] A new release of pip is available: 23.3.1 -> 23.3.2
[notice] To update, run: python.exe -m pip install --upgrade pip

Now when I try to run the tool it shows this traceback:

c:\Prg\M>pydumpck
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Python312\Scripts\pydumpck.exe\__main__.py", line 4, in <module>
  File "C:\Python312\Lib\site-packages\pydumpck\__init__.py", line 22, in <module>
    from pydumpck.pyinstaller_dump import run
  File "C:\Python312\Lib\site-packages\pydumpck\pyinstaller_dump.py", line 4, in <module>
    from pydumpck.py_common_dump import CommonDump
  File "C:\Python312\Lib\site-packages\pydumpck\py_common_dump\__init__.py", line 7, in <module>
    from ..py_package import PackageStruct, PackageDescription
  File "C:\Python312\Lib\site-packages\pydumpck\py_package\__init__.py", line 1, in <module>
    from .package_description import PackageDescription
  File "C:\Python312\Lib\site-packages\pydumpck\py_package\package_description\__init__.py", line 4, in <module>
    from ...pyc_checker import pyz_extract
  File "C:\Python312\Lib\site-packages\pydumpck\pyc_checker\pyz_extract.py", line 8, in <module>
    import tinyaes
ModuleNotFoundError: No module named 'tinyaes'

my python is:

c:\Prg\M>python -V
Python 3.12.0

unknown type

pydumpck initilizing with 1.15.20
2023-06-16 22:03:34,918 [] plugins loaded with ['pycdc']
2154 : plugins loaded with ['pycdc']
2023-06-16 22:03:34,918 [
] target file input:badl.exe
to:output_6711039
2154 : target file input:badl.exe
to:output_6711039
2023-06-16 22:03:34,918 [
] start dump target file. type:arch
2154 : start dump target file. type:arch
2023-06-16 22:03:37,961 [+] struct file found:b''
5197 +: struct file found:b''
2023-06-16 22:03:37,961 [
]
export pyc
5197 :
export pyc
[
] dumping source file:105\1052023-06-16 22:03:40,031 [
]
decompile pyc
7267 *:
decompile pyc
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 1 ☺
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 4 ♦
Unknown type 0
Unknown type 38 &
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 23 ↨
Unknown type 0
Unknown type 2 ☻
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 100 d
Unknown type 1 ☺
Unknown type 23 ↨
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 4 ♦
Unknown type 23 ↨
Unknown type 0
Unknown type 1 ☺
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 101 e
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 4 ♦
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 100 d
Unknown type 2 ☻
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 4 ♦
Unknown type 0
Unknown type 1 ☺
Unknown type 101 e
Unknown type 0
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 23 ↨
Unknown type 38 &
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨

error

─$ pydumpck
Traceback (most recent call last):
File "/home/kali/.local/bin/pydumpck", line 5, in
from pydumpck import run
File "/home/kali/.local/lib/python3.11/site-packages/pydumpck/init.py", line 22, in
from pydumpck.pyinstaller_dump import run
File "/home/kali/.local/lib/python3.11/site-packages/pydumpck/pyinstaller_dump.py", line 4, in
from pydumpck.py_common_dump import CommonDump
File "/home/kali/.local/lib/python3.11/site-packages/pydumpck/py_common_dump/init.py", line 7, in
from ..py_package import PackageStruct, PackageDescription
File "/home/kali/.local/lib/python3.11/site-packages/pydumpck/py_package/init.py", line 1, in
from .package_description import PackageDescription
File "/home/kali/.local/lib/python3.11/site-packages/pydumpck/py_package/package_description/init.py", line 6, in
from PyInstaller.utils.cliutils.archive_viewer import get_archive, get_data, get_content, get_archive_content
ImportError: cannot import name 'get_archive' from 'PyInstaller.utils.cliutils.archive_viewer' (/home/kali/.local/lib/python3.11/site-packages/PyInstaller/utils/cliutils/archive_viewer.py)

run error

➜  testpydumpck pydumpck exp        
Traceback (most recent call last):
  File "/usr/local/bin/pydumpck", line 5, in <module>
    from pydumpck import run
  File "/usr/local/lib/python3.8/dist-packages/pydumpck/__init__.py", line 8, in <module>
    from .pyinstaller_dump import run as run_main
  File "/usr/local/lib/python3.8/dist-packages/pydumpck/pyinstaller_dump.py", line 87, in <module>
    def extract_arch(arch: CArchiveReader | ZlibArchive, current_directory: str):
TypeError: unsupported operand type(s) for |: 'type' and 'type'

The local environment is ubuntu20.04,python3.8. After executing pip install pydumpck, run pydumpck exp and report the above error,what happened to this error?

Error when trying to decompile exe (urllib3)

21545 +: decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\zipfile.pyc,length:365 2022-07-18 20:42:02,509 [!] decompile bytecode by pycdc fail,file:output_3453907\PYZ-00.pyz_extract\urllib3\filepost.pyc,with error:local variable 'e' referenced before assignment 21558 !: decompile bytecode by pycdc fail,file:output_3453907\PYZ-00.pyz_extract\urllib3\filepost.pyc,with error:local variable 'e' referenced before assignment 2022-07-18 20:42:02,559 [+] decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\xml\sax\xmlreader.pyc,length:13343 21608 +: decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\xml\sax\xmlreader.pyc,length:13343 2022-07-18 20:42:02,567 [+] decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\zipimport.pyc,length:13426 21616 +: decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\zipimport.pyc,length:13426 2022-07-18 20:42:02,570 [!] fail to decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\urllib3\filepost.pyc,with error:(UnboundLocalError("local variable 'e' referenced before assignment"), 'fail when handling output_3453907\\PYZ-00.pyz_extract\\urllib3\\filepost.pyc -> output_3453907\\PYZ-00.pyz_extract\\urllib3\\filepost.pyc.structed.pyc') 21619 !: fail to decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\urllib3\filepost.pyc,with error:(UnboundLocalError("local variable 'e' referenced before assignment"), 'fail when handling output_3453907\\PYZ-00.pyz_extract\\urllib3\\filepost.pyc -> output_3453907\\PYZ-00.pyz_extract\\urllib3\\filepost.pyc.structed.pyc') [*] decompile source file:410\4132022-07-18 20:42:02,944 [!] decompile bytecode by pycdc fail,file:output_3453907\PYZ-00.pyz_extract\urllib3\util\timeout.pyc,with error:local variable 'e' referenced before assignment 21993 !: decompile bytecode by pycdc fail,file:output_3453907\PYZ-00.pyz_extract\urllib3\util\timeout.pyc,with error:local variable 'e' referenced before assignment 2022-07-18 20:42:02,948 [!] fail to decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\urllib3\util\timeout.pyc,with error:(UnboundLocalError("local variable 'e' referenced before assignment"), 'fail when handling output_3453907\\PYZ-00.pyz_extract\\urllib3\\util\\timeout.pyc -> output_3453907\\PYZ-00.pyz_extract\\urllib3\\util\\timeout.pyc.structed.pyc') 21997 !: fail to decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\urllib3\util\timeout.pyc,with error:(UnboundLocalError("local variable 'e' referenced before assignment"), 'fail when handling output_3453907\\PYZ-00.pyz_extract\\urllib3\\util\\timeout.pyc -> output_3453907\\PYZ-00.pyz_extract\\urllib3\\util\\timeout.pyc.structed.pyc') 2022-07-18 20:42:03,093 [!] decompile bytecode by pycdc fail,file:output_3453907\PYZ-00.pyz_extract\xml\sax\__init__.pyc,with error:local variable 'e' referenced before assignment 22142 !: decompile bytecode by pycdc fail,file:output_3453907\PYZ-00.pyz_extract\xml\sax\__init__.pyc,with error:local variable 'e' referenced before assignment 2022-07-18 20:42:03,136 [!] fail to decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\xml\sax\__init__.pyc,with error:(UnboundLocalError("local variable 'e' referenced before assignment"), 'fail when handling output_3453907\\PYZ-00.pyz_extract\\xml\\sax\\__init__.pyc -> output_3453907\\PYZ-00.pyz_extract\\xml\\sax\\__init__.pyc.structed.pyc') 22185 !: fail to decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\xml\sax\__init__.pyc,with error:(UnboundLocalError("local variable 'e' referenced before assignment"), 'fail when handling output_3453907\\PYZ-00.pyz_extract\\xml\\sax\\__init__.pyc -> output_3453907\\PYZ-00.pyz_extract\\xml\\sax\\__init__.pyc.structed.pyc') 2022-07-18 20:42:03,418 [+] decompile bytecode by pycdc success on file:output_3453907\PYZ-00.pyz_extract\urllib3\util\connection.pyc,length:3111820 22467 +: decompile bytecode by pycdc success on file:output_3453907\PYZ-00.pyz_extract\urllib3\util\connection.pyc,length:3111820 2022-07-18 20:42:03,431 [+] decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\urllib3\util\connection.pyc,length:3111820 22480 +: decompile bytecode on file:output_3453907\PYZ-00.pyz_extract\urllib3\util\connection.pyc,length:3111820 [*] decompile source file:413\4132022-07-18 20:42:03,615 [*] progress_check completed 22664 *: progress_check completed 2022-07-18 20:42:03,618 [+] completed,cost 21662ms with result:45 arch file(s) handled. 22667 +: completed,cost 21662ms with result:45 arch file(s) handled. 45 arch file(s) handled.

Error trying when trying to handle the urllib3

and will the code ended with Warning: decompyle incomplete? hen it failed/ error

Bad Magic Number

Hi, first I tried to use pydumpck on python 3.11 and it gave an error like this:
Ekran Alıntısı

then, I installed pydumpck on py 3.9 it worked but it did not give py file it gave full of pyc files. I tried to convert pyc to py using some tools but all gave an error contained : "bad magic number"

Ekran Alıntısı 1PNG

Cookie magic pattern

I am getting this error when running pydumpck when decompiling an executable file

PyInstaller.loader.pyimod01_archive.ArchiveReadError: Could not find COOKIE magic pattern!

Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 194, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.2800.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\surru\OneDrive\Desktop\New folder\pydumpck.exe_main
.py", line 7, in
File "C:\Users\surru\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\pydumpck\pyinstaller_dump.py", line 118, in run
return dmp.main(**vars(args))
File "C:\Users\surru\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\pydumpck\py_common_dump_init
.py", line 203, in main
self.result = self.action_dispatchdispatch_to
File "C:\Users\surru\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\pydumpck\py_common_dump_init
.py", line 121, in handle_arch_file
arch = get_archive(filename=target_file)
File "C:\Users\surru\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\pydumpck\py_common_dump_init_.py", line 25, in get_archive
arch = viewer._open_toplevel_archive(filename)
File "C:\Users\surru\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\PyInstaller\utils\cliutils\archive_viewer.py", line 126, in _open_toplevel_archive
return CArchiveReader(filename)
File "C:\Users\surru\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\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!

This is a new error im getting while testing out the new version, any fixes?

Unknown type

i get this error does anyone have an idea of how to fix it ?

2023-02-24 23:09:42,218 [+] pydumpck is a multi-threads tool for decompile exe,elf,pyz,pyc packed by python which is base on pycdc and uncompyle6.sometimes its py-file result not exactly right ,maybe could use uncompyle6.

pydumpck initilizing with 1.15.16
266 +: pydumpck is a multi-threads tool for decompile exe,elf,pyz,pyc packed by python which is base on pycdc and uncompyle6.sometimes its py-file result not exactly right ,maybe could use uncompyle6.

pydumpck initilizing with 1.15.16
2023-02-24 23:09:42,218 [] plugins loaded with ['pycdc']
267 : plugins loaded with ['pycdc']
2023-02-24 23:09:42,218 [
] target file input:C:/Users/Admin/Desktop/decompile/Bat_Obfuscator.exe
to:output_8441550
267 : target file input:C:/Users/Admin/Desktop/decompile/Bat_Obfuscator.exe
to:output_8441550
2023-02-24 23:09:42,219 [
] start dump target file.
268 : start dump target file.
2023-02-24 23:09:45,239 [+] struct file found:b''
3288 +: struct file found:b''
2023-02-24 23:09:45,240 [
]
export pyc
3289 :
export pyc
[
] dumping source file:29\292023-02-24 23:09:46,267 [
]
decompile pyc
4315 :
decompile pyc
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 23 ↨
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 1 ☺
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 1 ☺
Unknown type 23 ↨
Unknown type 100 d
Unknown type 23 ↨
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 1 ☺
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 23 ↨
Unknown type 100 d
Unknown type 100 d
Unknown type 1 ☺
Unknown type 100 d
Unknown type 23 ↨
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 23 ↨
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 2 ☻
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 1 ☺
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 1 ☺
Unknown type 100 d
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 23 ↨
Unknown type 0
Unknown type 0
Unknown type 1 ☺
Unknown type 100 d
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 1 ☺
Unknown type 100 d
Unknown type 1 ☺
Unknown type 1 ☺
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 100 d
Unknown type 1 ☺
Unknown type 100 d
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 1 ☺
Unknown type 1 ☺
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 100 d
Unknown type 0
Unknown type 100 d
Unknown type 1 ☺
Unknown type 100 d
Unknown type 2 ☻
Unknown type 0
Unknown type 0
Unknown type 23 ↨
Unknown type 0
Unknown type 23 ↨
Unknown type 100 d
Unknown type 0
Unknown type 0
Unknown type 1 ☺
Unknown type 100 d
Unknown type 2 ☻
Unknown type 100 d
Unknown type 1 ☺
[
] decompile source file:0\10Traceback (most recent call last):
File "c:\users\admin\appdata\local\programs\python\python38-32\lib\runpy.py", line 192, in run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\admin\appdata\local\programs\python\python38-32\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python38-32\Scripts\pydumpck.exe_main
.py", line 9, in
File "c:\users\admin\appdata\local\programs\python\python38-32\lib\site-packages\pydumpck\pyinstaller_dump.py", line 118, in run
return dmp.main(**vars(args))
File "c:\users\admin\appdata\local\programs\python\python38-32\lib\site-packages\pydumpck\py_common_dump_init
.py", line 160, in main
self.result = self.action_dispatchdispatch_to
File "c:\users\admin\appdata\local\programs\python\python38-32\lib\site-packages\pydumpck\py_common_dump_init
.py", line 84, in handle_arch_file
self.file_struct_pyc.progress_check()
File "c:\users\admin\appdata\local\programs\python\python38-32\lib\site-packages\pydumpck\py_package\package_struct_init_.py", line 97, in progress_check
self.progress_check_pyc_decompile() # decompile pyc
File "c:\users\admin\appdata\local\programs\python\python38-32\lib\site-packages\pydumpck\py_package\package_struct_init_.py", line 63, in progress_check_pyc_decompile
return self.progress_waitter('decompile source file')
File "c:\users\admin\appdata\local\programs\python\python38-32\lib\site-packages\pydumpck\py_package\package_struct_init_.py", line 74, in progress_waitter
raise Exception(f'{t}\n{c}\n')
Exception: timeout:from 1677276586.26896 to 1677276706.719864
cost:120.45090389251709,timeout=120

pyinstaller not found but it installed

C:\Users\Administrator>pydumpck
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Scripts\pydumpck.exe_main
.py", line 4, in
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck_init
.py", line 22, in
from pydumpck.pyinstaller_dump import run
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\pyinstaller_dump.py", line 4, in
from pydumpck.py_common_dump import CommonDump
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_common_dump_init_.py", line 7, in
from ..py_package import PackageStruct, PackageDescription
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_package_init_.py", line 1, in
from .package_description import PackageDescription
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_package\package_description_init_.py", line 6, in
from PyInstaller.utils.cliutils.archive_viewer import get_archive, get_data, get_content, get_archive_content
ImportError: cannot import name 'get_archive' from 'PyInstaller.utils.cliutils.archive_viewer' (C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\utils\cliutils\archive_viewer.py)

python 3.11 support

ERROR: Package 'xdis' requires a different Python: 3.11.0 not in '<3.11,>=3.6'

Upon starting up pydumpck this error occures

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\joonp\AppData\Local\Programs\Python\Python311\Scripts\pydumpck.exe\__main__.py", line 4, in <module>
  File "C:\Users\joonp\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\__init__.py", line 22, in <module>
    from pydumpck.pyinstaller_dump import run
  File "C:\Users\joonp\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\pyinstaller_dump.py", line 4, in <module>
    from pydumpck.py_common_dump import CommonDump
  File "C:\Users\joonp\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_common_dump\__init__.py", line 7, in <module>
    from ..py_package import PackageStruct, PackageDescription
  File "C:\Users\joonp\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_package\__init__.py", line 1, in <module>
    from .package_description import PackageDescription
  File "C:\Users\joonp\AppData\Local\Programs\Python\Python311\Lib\site-packages\pydumpck\py_package\package_description\__init__.py", line 6, in <module>
    from PyInstaller.utils.cliutils.archive_viewer import get_archive, get_data, get_content, get_archive_content
ImportError: cannot import name 'get_archive' from 'PyInstaller.utils.cliutils.archive_viewer' (C:\Users\joonp\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\utils\cliutils\archive_viewer.py)

C:\Users\joonp\OneDrive\Desktop\python-exe-unpacker-master\python-exe-unpacker-master>refreshenv
'refreshenv' is not recognized as an internal or external command,
operable program or batch file.

decompile .pyc文件错误!

文件:baidu_click.zip
已知文件版本:python 3.8;
测试uncompyle6是解不开的。
使用pydumpck的pycdc模式 大量“# WARNING: Decompyle incomplete”编译未完成,尴尬啊。
帮忙测试一下是否正常!
baidu_click是一个快排程序,主要刷百度搜索点击的,

bad magic error

ould not load file output_4142830\PYZ-00.pyz_extract\__future__.pyc.structed.pyc

[!] decompile bytecode by pycdc fail output_4142830\PYZ-00.pyz_extract\argparse.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\argparse.pyc.structed.pyc
[!] deco

[!] decompile bytecode by pycdc fail output_4142830\PYZ-00.pyz_extract\base64.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\base64.pyc.structed.pyc

[!] decompile bytecode by pycdc fail output_4142830\PYZ-00.pyz_extract\charset_normalizer\__init__.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\charset_normalizer\__init__.pyc.structed.pyc

[!] fail to decompile bytecode output_4142830\PYZ-00.pyz_extract\_strptime.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\_strptime.pyc.structed.pyc

[!] decompile bytecode by pycdc fail output_4142830\PYZ-00.pyz_extract\certifi\core.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\certifi\core.pyc.structed.pyc
[!] decompile bytecode by pycdc fail output_4142830\PYZ-00.pyz_extract\ast.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\ast.pyc.structed.pyc

[!] decompile bytecode by pycdc fail output_4142830\PYZ-00.pyz_extract\charset_normalizer\assets\__init__.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\charset_normalizer\assets\__init__.pyc.structed.pyc
[!] fail to decompile bytecode output_4142830\PYZ-00.pyz_extract\certifi\__init__.pyc Bad MAGIC!
Could not
Could not load file output_4142830\PYZ-00.pyz_extract\urllib3\util\ssl_match_hostname.pyc.structed.pyc
[!] decompile bytecode by pycdc fail output_4142830\PYZ-00.pyz_extract\zipfile.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\zipfile.pyc.structed.pyc
[!] fail to decompile bytecode output_4142830\PYZ-00.pyz_extract\uuid.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\uuid.pyc.structed.pyc
[!] fail to decompile bytecode output_4142830\PYZ-00.pyz_extract\urllib3\util\timeout.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\urllib3\util\timeout.pyc.structed.pyc

[!] decompile bytecode by pycdc fail output_4142830\PYZ-00.pyz_extract\zstandard\__init__.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\zstandard\__init__.pyc.structed.pyc
[!] fail to decompile bytecode output_4142830\PYZ-00.pyz_extract\urllib3\util\ssltransport.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\urllib3\util\ssltransport.pyc.structed.pyc


[!] fail to decompile bytecode output_4142830\PYZ-00.pyz_extract\urllib3\util\url.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\urllib3\util\url.pyc.structed.pyc



[!] fail to decompile bytecode output_4142830\PYZ-00.pyz_extract\urllib3\util\wait.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\urllib3\util\wait.pyc.structed.pyc

[!] decompile bytecode by pycdc fail output_4142830\PYZ-00.pyz_extract\zstandard\backend_cffi.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\zstandard\backend_cffi.pyc.structed.pyc

[!] fail to decompile bytecode output_4142830\PYZ-00.pyz_extract\urllib3\util\util.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\urllib3\util\util.pyc.structed.pyc

[!] fail to decompile bytecode output_4142830\PYZ-00.pyz_extract\zipfile.pyc Bad MAGIC!
Could not load file output_4142830\PYZ-00.pyz_extract\zipfile.pyc.structed.pyc

Feature-Request[decompiler]add support for `dis.txt` file

  3           0 LOAD_CONST               0 ('Input flag:')
              3 PRINT_ITEM          
              4 PRINT_NEWLINE       

  4           5 LOAD_NAME                0 (input)
              8 CALL_FUNCTION            0
             11 STORE_NAME               1 (flag)

  6          14 LOAD_CONST               1 (47378)
             17 LOAD_CONST               2 (29475)
             20 LOAD_CONST               3 (46200)
             23 LOAD_CONST               4 (39869)
             26 LOAD_CONST               5 (67243)
             29 LOAD_CONST               6 (68695)
             32 LOAD_CONST               7 (73129)
...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.