Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Python tools?
- pypi.python.org/pypi/obfuscate/0.2.2
- github.com/astrand/pyobfuscate
Or drive everything in C++
You can build pyd/dll/so with the desired functionality (SWIG, Python C API, Cython, etc.). :) To reverse a binary, the performer's qualifications must be high.
From .pyc files, you can one-to-one, along with all the names of variables and functions, get the original file, only comments will be missing. This is just because .pyc files are not obfuscation.
You can try to compile cython part of the modules, or even overtake everything into a binary. This is not to add speed, because you will still operate with Python objects and their methods everywhere, but getting the source back is not so easy. It may be necessary to first go through some kind of tool that can rename all the names of functions and variables beyond recognition, and only then compile cython.
You can kill two birds with one stone using cython. Add declaration of some variables as C's types, which will make the work much faster and also help to obfuscate your output code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question