Python混淆 [英] Python obfuscation

查看:55
本文介绍了Python混淆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何商业或其他混淆的python源

代码或字节代码以及它们的相对优势或

缺点。我想知道因为有一些字节码保护

可用于java和.NET,虽然从我所看到的这些看起来似乎

不全面作为保护方案<


http://petantik.blogsome.com - 告诉它它是否像

Are there any commercial, or otherwise obfuscators for python source
code or byte code and what are their relative advantages or
disadvantages. I wonder because there are some byte code protection
available for java and .NET, although from what i''ve read these seem to
be not comprehensive as protection schemes



http://petantik.blogsome.com - Telling it like it is

推荐答案

" petantik" < PE *********** @ gmail.com>写道:
"petantik" <pe***********@gmail.com> wrote:
是否有任何商业或其他混淆的python源代码或字节代码,以及它们的相对优势或缺点是什么。我想知道因为有一些字节码保护可用于java和.NET,虽然从我所看到的这些似乎并不全面作为保护方案
Are there any commercial, or otherwise obfuscators for python source
code or byte code and what are their relative advantages or
disadvantages. I wonder because there are some byte code protection
available for java and .NET, although from what i''ve read these seem to
be not comprehensive as protection schemes




嗯。今天是google了吗?

http ://www.lysator.liu.se/~astrand/p...s/pyobfuscate/

pyobfuscate是一个源代码混淆器:它使Python源代码

难以为人类阅读,同时仍然可以执行Python

口译员。


< / F>



hmm. is google down today?

http://www.lysator.liu.se/~astrand/p...s/pyobfuscate/

pyobfuscate is a source code obfuscator: It makes Python source code
hard to read for humans, while still being executable for the Python
interpreter.

</F>


当python被设计为难以编写这个代码时,它是多么有效(希望是不可能的)?最有效的是

重命名功能,可能是变量,但如果功能保持简短,他们最多看起来像哈斯克尔;-)


Fredrik Lundh写道:
How effective can it be when python is designed to make writing this
kind of code hard(hopefully impossible) ? The most effective would be
renaming function and may be variables but if the functions are kept
short, they would at most looks like haskell ;-)

Fredrik Lundh wrote:
嗯。今天是google了吗?

http ://www.lysator.liu.se/~astrand/p...s/pyobfuscate/

pyobfuscate是一个源代码混淆器:它使Python源代码
很难为人类阅读,同时仍然可以执行Python
翻译。

< / F>
hmm. is google down today?

http://www.lysator.liu.se/~astrand/p...s/pyobfuscate/

pyobfuscate is a source code obfuscator: It makes Python source code
hard to read for humans, while still being executable for the Python
interpreter.

</F>






petantik写道:
petantik wrote:
是否有任何商业或其他混淆的python源代码或字节代码以及它们的相对优势或缺点是什么。我想知道因为有一些字节码保护可用于java和.NET,虽然从我所看到的这些似乎并不全面作为保护方案
Are there any commercial, or otherwise obfuscators for python source
code or byte code and what are their relative advantages or
disadvantages. I wonder because there are some byte code protection
available for java and .NET, although from what i''ve read these seem to
be not comprehensive as protection schemes



在为代码添加复杂保护机制之前,首先需要

一些值得保护的代码,也就是说它应该有一些新颖的

功能或代表很多为任务或技能领域提供有用的集成

功能的工作。


这种性质的大多数查询似乎属于第一个障碍。


有些事情你可以做,但我总是敏锐地意识到,很少有一个项目的用户拥有技能和倾向于扯掉

即使源是作为产品的一部分分发的代码也是如此。

就个人而言,我从未打扰过混淆,并且更愿意依赖
$ b当我向客户提供代码时,$ b版权。


问候

史蒂夫

-

Steve Holden +44 150 684 7255 +1 800 494 3119

Holden Web LLC www.holdenweb.com

PyCon TX 2006 www.python.org/pycon/


Before adding complex protection mechanisms to your code you first need
some code worth protecting, which is to say it should have some novel
features or represent a lot of work that offers useful integrated
functionality for a task or a skill area.

Most inquiries of this nature appear to fall at that first hurdle.

There are things you can do, but I''m always keenly aware that very few
users of a program have both the skills and the inclination to rip off
the code even when the source is distributed as part of the product.
Personally I''ve never bothered with obfuscation, and prefer to rely on
copyright when I deliver code to customers.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/


这篇关于Python混淆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆