Subdora is a Python obfuscation tool designed to transform your code into a highly secure, non-readable format. Built to protect source code from unauthorized inspection and tampering, it’s backward-compatible with version 0.2.1, making it a flexible solution for securing complex Python algorithms.
Subdora takes your readable Python code and obfuscates it, converting it into a format that’s extremely challenging to interpret or reverse-engineer. This added layer of protection deters casual and unauthorized access, keeping your intellectual property safe.
Python code, by nature, is easy to read and vulnerable to reverse-engineering, posing a risk for unauthorized usage. This library is designed to:
- Protect complex algorithms and proprietary code from casual inspection.
- Prevent unauthorized copying and tampering, securing the functionality and integrity of your codebase.
Existing obfuscation tools often fall short—many lack essential features, while others come at a high price. Subdora was created to provide a comprehensive and affordable solution for developers and businesses looking to protect their Python code with ease.
pip install Subdora
Tested On
- Windows 10/11
- Unbuntu >=22.04
- Linux Mint
- Minor bug fixes and improve error handeling
- obfuscate python scripts
- able to obfuscate python script into images while retaning ineration counter and expiry time
- Add support for cli tool
- Add expiry time feature
obfuscating main.py file
From command line
C:>subdora --obfuscate main.py --itr 10 --time 10m
From python file
Subdora.subdora_encode_file("main.py",no_of_iterations,expiry_time)#'4m 4h etc'
This will generate a main.myst file in order to execute myst file
From command line
C:>subdora --run main.myst
From python file
Subdora.subdora_parse("main.myst")
Encoding python script to image
*only supports png and jpg files
C:>subdora --obfuscate main.py --img img.jpg --itr 5 --time 5m
This will generate main.png file to run the image file use
C:> subdora --run main.png
- Obfuscation of python code
- obfuscation of python code into image files
- Support Code expiry Feature
- Support iteration counter
- Support for cli tool
- Supports loading obfuscated code as module in another python projects
Despite various obfuscation techniques, they can ultimately be reversed because all code eventually compiles down to assembly language. As a result, someone with intermediate cybersecurity skills can analyze and understand the code's execution process. This library primarily makes the code harder to comprehend for typical users. I always prefer security over obfuscation. I created this library because someone wheo needed to hide the logic for advanced technologies like traveling faster than light using Alcuberic drive , Quantum Entanglement Communicator (QEC), Hyperdimensional Stabilizer, Singularity Engine, Antimatter Fusion Reactor, Temporal Displacement Field (TDF), Dimensional Rift Generator, Graviton Manipulator. Existing libraries obfuscate scripts but come with many limitations, we can overcome those limitations with some financial investment. So I decided to develop this library. I don’t know how many people are using it or if it’s having any impact, but regardless, best of luck from my side.
Made with ❤ by Lakshit