Open mina250 opened 1 year ago
method 3
What python version?
3.10
I tried a small program and it worked fine
But the program is very large and does not work. Could this be the cause of the problem?
C:\Users\x\Desktop\New folder (6)>run.py out.py [+] _pytransform.dll loaded at 0x70a00000 [+] Setting memory permissions [+] Patching bootstrap restrict mode [+] Restoring memory permission [+] All done! Pyarmor bootstrap restrict mode disabled Traceback (most recent call last): File "C:\Users\x\Desktop\New folder (6)\run.py", line 6, in exec(marshal.loads(open("dumped.marshal", "rb").read())) TypeError: _bootstrap_inner() missing 1 required positional argument: 'self'
from pytransform import pyarmor_runtime pyarmor_runtime() pyarmor(name, file, b'PYARMOR\x00\x00\x03\n\x00o\r\r\n.........
I tried a small program and it worked fine
But the program is very large and does not work. Could this be the cause of the problem?
Yes that probably is the issue. Can you share the file please? The issue seems that the opcode value exceeds 256 which causes the error. Instead an EXTENDED_ARG should be generated.
Creating dump folder Done, loading the encrypted code object Code object successfully loaded, decrypting and removing pyarmor from it now Traceback (most recent call last): File "C:\Users\mina\Desktop\New folder (4)\PyArmor_Unpacker_Bypass\bypass.py", line 423, in log code = output_code(code) File "C:\Users\mina\Desktop\New folder (4)\PyArmor_Unpacker_Bypass\bypass.py", line 213, in output_code co_consts=tuple(output_code(name) for name in obj.co_consts) File "C:\Users\mina\Desktop\New folder (4)\PyArmor_Unpacker_Bypass\bypass.py", line 213, in
co_consts=tuple(output_code(name) for name in obj.co_consts)
File "C:\Users\mina\Desktop\New folder (4)\PyArmor_Unpacker_Bypass\bypass.py", line 213, in output_code
co_consts=tuple(output_code(name) for name in obj.co_consts)
File "C:\Users\mina\Desktop\New folder (4)\PyArmor_Unpacker_Bypass\bypass.py", line 213, in
co_consts=tuple(output_code(name) for name in obj.co_consts)
File "C:\Users\mina\Desktop\New folder (4)\PyArmor_Unpacker_Bypass\bypass.py", line 225, in output_code
obj = handle_armor_enter(obj)
File "C:\Users\mina\Desktop\New folder (4)\PyArmor_Unpacker_Bypass\bypass.py", line 232, in handle_armor_enter
load_enter_function = b"".join(
File "C:\Users\mina\Desktop\New folder (4)\PyArmor_Unpacker_Bypass\bypass.py", line 233, in
i.to_bytes(1, byteorder="big")
OverflowError: int too big to convert