dearmor

Deobfuscate pyarmor files


License
Apache-2.0
Install
pip install dearmor==0.3.1

Documentation

dearmor

Deobfuscate pyarmor encryption.

It is best to use it with the pyc files extracted from the exe file, but exe file should work. Working only on windows.

It was not checked with custom pyarmor modes, only with the default configuration.

Method

Dearmor injects a dll into the running process, which calls a python function to run custom code. Using the custom code dearmor calls each function the exists in the file and deobfuscate it.

  • Run dearmor -i {file_path} The files will be created in a folder called "dump" in the same directory

To change the files from pyc to py, use docompyle++

installation

pip install dearmor

Contribute

Just ask away or make a pull request. If something is unclear open an issue

Desclaimer

This repo is for educational purposes only. I take no responsibility for its usage.

Tested versions:

  • 3.6
  • 3.7
  • 3.8
  • 3.9