Python obfuscation

sjdevnull at yahoo.com sjdevnull at yahoo.com
Wed Nov 9 22:46:46 CET 2005


Mike Meyer wrote:
> Step one: globally replace all names in all python module withb names
> that are composed of long strings of l, 1, 0 and 0. Fixing
> cross-module references should be fun. Don't just make them random -
> make them all start with the same sequence, and end with the same
> sequence, having differences only in the middle.

Eliminating the original variable names may be useful in obfuscation,
but this doesn't seem to buy much over just replacing with random
strings; it's trivial to do a similar replacement to go from "10Oll10"
strings to "firstVariable", "secondVariable", etc strings.




More information about the Python-list mailing list