{"id":19987974,"url":"https://github.com/florianregaz/pyobfuscator","last_synced_at":"2025-05-04T08:31:38.233Z","repository":{"id":219986178,"uuid":"536472854","full_name":"FlorianREGAZ/PyObfuscator","owner":"FlorianREGAZ","description":"Make your code difficult to understand and read. Minimize exposure to attacks.","archived":false,"fork":false,"pushed_at":"2022-09-16T08:36:27.000Z","size":13,"stargazers_count":20,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T06:03:25.162Z","etag":null,"topics":["obfuscate","obfuscation","python","security"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FlorianREGAZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-09-14T07:59:13.000Z","updated_at":"2025-03-22T01:54:32.000Z","dependencies_parsed_at":"2024-01-30T18:52:43.628Z","dependency_job_id":"9078ff9b-8101-4b43-906e-70d75eb5bc79","html_url":"https://github.com/FlorianREGAZ/PyObfuscator","commit_stats":null,"previous_names":["florianregaz/pyobfuscator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianREGAZ%2FPyObfuscator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianREGAZ%2FPyObfuscator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianREGAZ%2FPyObfuscator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FlorianREGAZ%2FPyObfuscator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FlorianREGAZ","download_url":"https://codeload.github.com/FlorianREGAZ/PyObfuscator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252308085,"owners_count":21727122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["obfuscate","obfuscation","python","security"],"created_at":"2024-11-13T04:40:17.043Z","updated_at":"2025-05-04T08:31:37.955Z","avatar_url":"https://github.com/FlorianREGAZ.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyObfuscator\n\nMake your code difficult to understand and read. Minimize exposure to attacks.\n\nThis is an educational project to learn more about the Abstract-Syntax-Tree library of Python and to explore the possibilities you have with Python-Obfuscation.\n\nThe project is still in a very early stage of development. It currently only works on very simple scripts, so use it at your own risk!\n\n## Examples\nDisclaimer: the third translation is not included yet, but it is as simple as renaming `MEMORY` to `m`, `OPCODES` to `o` etc.\n\nExample 1: \n```python\nnumber1 = 1\nnumber2 = 5\nsum = number1 + number2\n\n# Translates to ------------------------------------------\nfrom vm import *\n\nMEMORY[0] = 1\nMEMORY[1] = 5\n\nMEMORY[2] = OPCODES[0](MEMORY[0], MEMORY[1])\n\n# Translates to ------------------------------------------\nfrom vm import *\n\nm[0] = 1\nm[1] = 5\nm[2] = o[0](m[0], m[1])\n```\n\nExample 2:\n```python\ndef print_sum(number1, number2):\n    print(number1 + number2)\n\nnumber1 = 1\nnumber2 = 5\nprint_sum(number1, number2)\n\n# Translates to ------------------------------------------\nfrom vm import *\n\ndef function1(arg1, arg2):\n    print(OPCODES[0](arg1, arg2))\n\nCUSTOM_FUNCTIONS[0] = function1\nMEMORY[0] = 1\nMEMORY[1] = 5\n\nMEMORY[2] = OPCODES[4](0, 0, 1)\n\n\n# Translates to ------------------------------------------\nfrom vm import *\n\ndef function1(arg1, arg2):\n    print(OPCODES[0](arg1, arg2))\nf[0] = function1\nm[0] = 1\nm[1] = 5\nm[2] = o[4](0, 0, 1)\n```\n\n## Quick Start\nA section explaining how to use the obfuscator will come as soon as it is useable for more complex code. \n\n## Planned Features\n- Support for more complex code (classes, more operations etc.)\n- Anti debugging method\n- One line obfuscation\n- many more..\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianregaz%2Fpyobfuscator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorianregaz%2Fpyobfuscator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianregaz%2Fpyobfuscator/lists"}