pycdc
pycdc copied to clipboard
unsupported opcode
<255>
Got the same
# Source Generated with Decompyle++
# File: foo.pyc (Python 2.7)
Unsupported opcode: <255>
pass
# WARNING: Decompyle incomplete
Got the other:
Unsupported opcode: STORE_LOCALS
:+1:
I have the same issue..Unsupported opcode: STORE_LOCALS
# Source Generated with Decompyle++
# File: srcipt.pyc (Python 2.7)
Unsupported opcode: <255>
pass
# WARNING: Decompyle incomplete
I attached the file inside zip here.. script.zip
@alkoforumm the zip file you attached is not usual Python 2.7 bytecode. The bytecode has been deliberately obfuscated using something called PJOrion.
https://github.com/extremecoders-re/PjOrion-Deobfuscator may be able to help you descramble the assembly. After descrambling to a valid python bytecode, I suspect pycdc will work.
@saurabh-gohil no you don't have the same issue as @alkoforumm although the error message starts off the same. An important difference is that <255>
is a number, an invalid bytecode number, while STORE_LOCALS
is a valid opcode used only in Python versions 3.0 to 3.3.
As best as I can tell, pycdc recognizes this opcode but it can't process this yet. uncompyle6 might work here, but no guarantees. (It has problems too.)
' # source Generated with Decompyle++`
# File: main.pyc (Python 3.10) Unsupported opcode: JUMP_IF_NOT_EXC_MATCH
# Warning: Decompile incomplete
Any help will be appreciated