Skip to main content

Deobfuscate pyarmor files

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dearmor-0.3.1.tar.gz (16.9 kB view hashes)

Uploaded Source

Built Distribution

dearmor-0.3.1-py3-none-any.whl (15.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page