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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file dearmor-0.3.1.tar.gz.

File metadata

  • Download URL: dearmor-0.3.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for dearmor-0.3.1.tar.gz
Algorithm Hash digest
SHA256 cfdd4efbda3728168038b0c629125b2874fb1e3c828b836d7c75188747a3ab5c
MD5 02e7de180c9521d8c50facb5d54a4eb2
BLAKE2b-256 7de260e99356687e6605687a82c3e5c3e4598ead8379b91615b23201869c56f2

See more details on using hashes here.

File details

Details for the file dearmor-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: dearmor-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for dearmor-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b2382427b63ad2cc33b5f982e4e7cd338c8844073878e148fd8567449d7ec2b
MD5 010aa3671609e7a8adb44edf93f7929e
BLAKE2b-256 528fc360ced3fff971df0f45e72b781fe4558478ceb09356c273d30b5c1d13ee

See more details on using hashes here.

Supported by

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