感谢您的关注,我有一个pyc文件,我需要获取它的源代码,我已经尝试了很多库,但是版本有错误,
这是尝试反编译时的命令行输出:
C:\Users\nigga22nd\Downloads>uncompyle6 bot.pyc
# uncompyle6 version 3.8.0
# Python bytecode 3.10.0 (3439)
# Decompiled from: Python 3.8.10 (tags/v3.8.10:3d8993a, May
MSC v.1928 64 bit (AMD64)]
# Embedded file name: bot.py
# Compiled at: 2022-02-19 13:03:49
# Size of source mod 2**32: 68797 bytes
Unsupported Python version, 3.10.0, for decompilation
# Unsupported bytecode in file bot.pyc
# Unsupported Python version, 3.10.0, for decompilation
如果有人可以提供帮助,这是文件本身:https://dropmefiles.com/1rVNb https://dropmefiles.com/1rVNb我真的需要源代码。
截至撰写本文时,uncompyle6 的现有版本均不适用于 Python 3.9 或 3.10(并且您的字节码是为 3.10 构建的)。
请参阅以下票证中开发人员对此主题的反馈:
-
https://github.com/rocky/python-uncompyle6/issues/384 https://github.com/rocky/python-uncompyle6/issues/384 - 什么时候支持3.10的反编译?
-
https://github.com/rocky/python-uncompyle6/issues/353 https://github.com/rocky/python-uncompyle6/issues/353 - 3.8 请:3
另外,对于同一作者的另一个 Python 反编译器:
-
https://github.com/rocky/python-decompile3/issues/45 https://github.com/rocky/python-decompile3/issues/45 - Python 3.9、3.10、3.11...
考虑使用反汇编器而不是反编译器。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)