# dearmor
Deobfuscate [pyarmor](https://pypi.org/project/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++](https://github.com/zrax/pycdc)
### 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
Raw data
{
"_id": null,
"home_page": "https://github.com/ErezAmihud/dearmor",
"name": "dearmor",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Erez Amihud",
"author_email": "erezamihud@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/4b/92/412252dbae127ea20fc89025cf06e5a43a94d5811fe17f70594c54728c8c/dearmor-0.3.tar.gz",
"platform": null,
"description": "# dearmor\nDeobfuscate [pyarmor](https://pypi.org/project/pyarmor/) encryption.\n\nIt is best to use it with the pyc files extracted from the exe file, but exe file should work.\nWorking only on windows.\n\nIt was not checked with custom pyarmor modes, only with the default configuration.\n\n### Method\nDearmor 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.\n\n- Run `dearmor -i {file_path}`\nThe files will be created in a folder called \"dump\" in the same directory\n\nTo change the files from pyc to py, use [docompyle++](https://github.com/zrax/pycdc)\n\n### installation\n`pip install dearmor`\n\n### Contribute\nJust ask away or make a pull request.\nIf something is unclear open an issue\n\n### Desclaimer\nThis repo is for educational purposes only. I take no responsibility for its usage. \n\n### Tested versions:\n- 3.6\n- 3.7\n- 3.8\n- 3.9\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Deobfuscate pyarmor files",
"version": "0.3",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b743025d482e17aa4c631cfde80ec77b8e32d0b9515c27b840ec2e685c3838a5",
"md5": "2bcb191707ef6b857dbe9ec2f4535d54",
"sha256": "6b342ef460187fa3d4906cb25e8e59b5ecc3671c7d5cd0fd7ac8a1ede57dc333"
},
"downloads": -1,
"filename": "dearmor-0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2bcb191707ef6b857dbe9ec2f4535d54",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10353,
"upload_time": "2023-02-12T00:54:47",
"upload_time_iso_8601": "2023-02-12T00:54:47.575461Z",
"url": "https://files.pythonhosted.org/packages/b7/43/025d482e17aa4c631cfde80ec77b8e32d0b9515c27b840ec2e685c3838a5/dearmor-0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4b92412252dbae127ea20fc89025cf06e5a43a94d5811fe17f70594c54728c8c",
"md5": "04d477276a70e873e9b49901bdcfd39a",
"sha256": "7a29efd5d1b288d21a881efb4160f2a6fea5ca8b43ec675ff581fed295470a20"
},
"downloads": -1,
"filename": "dearmor-0.3.tar.gz",
"has_sig": false,
"md5_digest": "04d477276a70e873e9b49901bdcfd39a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11027,
"upload_time": "2023-02-12T00:54:49",
"upload_time_iso_8601": "2023-02-12T00:54:49.033588Z",
"url": "https://files.pythonhosted.org/packages/4b/92/412252dbae127ea20fc89025cf06e5a43a94d5811fe17f70594c54728c8c/dearmor-0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-12 00:54:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "ErezAmihud",
"github_project": "dearmor",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "dearmor"
}