ErezAmihud / dearmor

This is a repo to deobfuscate pyarmor files
Apache License 2.0
24 stars 7 forks source link

IndexError: list index out of range #12

Closed vb2066 closed 1 year ago

vb2066 commented 1 year ago

Tried to decompile and deobfuscate a python exe file but getting this error. Btw i already unpack pyinstaller exe to pyc files. How could i try to decompile pyc file with dearmor? Traceback (most recent call last): File "C:\Users\Daredevil\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\Daredevil\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\Daredevil\AppData\Local\Programs\Python\Python39\Scripts\dearmor.exe__main.py", line 7, in File "C:\Users\Daredevil\AppData\Local\Programs\Python\Python39\lib\site-packages\dearmor__main__.py", line 51, in main_cli dearmor_main(parser.parse_args().file) File "C:\Users\Daredevil\AppData\Local\Programs\Python\Python39\lib\site-packages\dearmor__main__.py", line 32, in dearmor_main inject(child[0].pid, str(Path(file__).parent / "Release" / "dearmor.dll")) IndexError: list index out of range

ErezAmihud commented 1 year ago

The first think that dearmor does is running the file path you provide with python <filepath> and then get the child process pid.

That error probably means that the process has exited to quickly for dearmor to connect to it

vb2066 commented 1 year ago

It does running the file path i provide. I don't know why but its not getting the pid from the exe Here is the softaware if you want to check it : https://cdn.discordapp.com/attachments/1087882012553125990/1087883580052611092/SVSIDE_captcha_solver.rar