ErezAmihud / dearmor

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

is support django py #4

Open codebuildforyou opened 2 years ago

codebuildforyou commented 2 years ago

hi thank you python django do not have pyc file, so dearmor cannot deal with pyarmor

codebuildforyou commented 2 years ago

django will run as “python manage.py” ,so run by .pyc is not right.
we can support argument with pid , replace
.pyc

ErezAmihud commented 2 years ago

Dearmor actually needs only the pid of the process that runs the obfuscated code, and outputs pyc file that contains the deobfuscated code

For now, you can just use the py fille instead of pyc, or change main.py in the dearmor directory to only get the pid instead of running the file.