encoding python scripts

Radovan Garabik spam at melkor.dnp.fmph.uniba.sk
Thu Oct 10 06:23:05 EDT 2002


Richie Hindle <richie at entrian.com> wrote:
 : Hi Rick,

 :> I was wondering what approaches python developers
 :> have taken to encode and thus protect their commercial applications?

 : I believe Freeze is good enough.  It compiles your Python to bytecode,
 : creates a C module which defines the bytecode as a big char array,
 : then links that C module with the Python interpreter.  It's possible
 : to hack the bytecode out again and Decompyle it, but it's not trivial.

And you can always UPX the resulting binary to make it even more
obfuscated.

-- 
 -----------------------------------------------------------
| Radovan Garabík  http://melkor.dnp.fmph.uniba.sk/~garabik |
| __..--^^^--..__         garabik @ fmph . uniba . sk       |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!



More information about the Python-list mailing list