混淆 PHP 代码
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/764927/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Obfuscate PHP code
提问by riad
I create software using PHP. I'm going to sell this software so I need to protect my source code so that nobody can view it. How can I protect my PHP code so that the software still functions the same?
我使用 PHP 创建软件。我要出售这个软件,所以我需要保护我的源代码,这样没有人可以看到它。我怎样才能保护我的 PHP 代码,使软件的功能仍然相同?
I also need to bind the software to a particular, authorized PC. It should not run on any other PC. How can I do that? Should I encrypt using LAN MAC address? Does anyone have any other ideas?
我还需要将软件绑定到特定的授权 PC。它不应在任何其他 PC 上运行。我怎样才能做到这一点?我应该使用 LAN MAC 地址加密吗?有没有人有其他想法?
回答by SamGoody
I put together the following list a ways back - don't know if they are all current, or how many are now free, but you should find something useful here:
我将以下列表汇总在一起 - 不知道它们是否都是最新的,或者现在有多少是免费的,但你应该在这里找到一些有用的东西:
About:
关于:
Software:
软件:
- Safeyar(Best)
- PHP's APC(PECL page)
- RoadSend
- Turck-mmcache
- eAccelerator
- PHP-Accelerator
- SourceGuardian
- NuSphere Nu-coder
- Gridinsoft
- IonCube SA-Encoder.php
- Safeyar(最佳)
- PHP 的 APC(PECL 页面)
- 路送
- 图尔克-mmcache
- 电子加速器
- PHP-加速器
- 来源卫报
- NuSphere Nu-coder
- 格丁软件
- IonCube SA-Encoder.php
Another thread on SO that adds a few more (check it out):
SO 上的另一个线程添加了更多内容(请查看):
Can I encrypt PHP source or compile it so others can't see it? and how?
回答by Chris Morley
回答by Chris Morley
SourceGuardianwill do what you want.
SourceGuardian会做你想做的。
回答by pratik
Just Download http://www.phplockit.com/demo.phpits gives what you want.
只需下载http://www.phplockit.com/demo.php它就能满足您的需求。
回答by Alexander Elgin
Why do not you use ionCubeor Zend Guard?
为什么不使用ionCube或Zend Guard?
回答by Ira Baxter
See our SD PHP Obfuscatorfor a reliable PHP obfuscation tool.
请参阅我们的SD PHP Obfuscator以获取可靠的 PHP 混淆工具。
回答by Enriqe
Usually there is a key to every locked door...
通常每扇上锁的门都有一把钥匙...
So before using / purchasing some of the encryptors on the market, take your time and search google to check if it is not already an "easy breakable" way of encoding.
因此,在使用/购买市场上的一些加密器之前,请花点时间搜索谷歌以检查它是否还不是一种“容易破解”的编码方式。
For example: http://www.kgbiz05.com/decoders

