解码用“zend guard”编码的 PHP

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4298001/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 12:34:08  来源:igfitidea点击:

Decode a PHP encoded with 'zend guard'

phpencryptionzend-optimizerzend-guard

提问by SuperDuck

We have a website maintained by an old employee and it appears it's encoded by Zend Guard including all backups.

我们有一个由老员工维护的网站,它似乎是由 Zend Guard 编码的,包括所有备份。

I know a little about Zend Optimizer, but never considered it for source protection as I know in the end the bytecode will need to be decoded for the interpreter, and was sure people easily decode optimized files using some software.

我对 Zend Optimizer 有一点了解,但从未考虑过将其用于源代码保护,因为我知道最终需要为解释器解码字节码,并且确信人们可以使用某些软件轻松解码优化文件。

Now I need to decode some files and I can't find anything but some 'paid services'. We have the ownership of the code and are locked out now for any changes and debugging. How can I decode our files back?

现在我需要解码一些文件,除了一些“付费服务”之外我什么也找不到。我们拥有代码的所有权,现在无法进行任何更改和调试。我怎样才能解码我们的文件?

采纳答案by Orbling

The entire point of the very expensive software tool Zend Guard is to encrypt code so that it can not be decoded. That is the point.

非常昂贵的软件工具 Zend Guard 的全部目的是加密代码,使其无法被解码。这就是我想说的。

If obfuscation is not on, then there is a possibility that you may be able to get a professional to get the code back, less comments and formatting by means of hacking the code engine. If obfuscation is on, then it's easier to rewrite it to be honest.

如果混淆没有打开,那么您有可能通过黑客代码引擎获得专业人员来取回代码,减少注释和格式。如果混淆是打开的,那么老实说,重写它会更容易。

Have a read of this article from the Zend site, I know it is a biased source but they are right: http://forums.zend.com/viewtopic.php?f=57&t=2242

从 Zend 网站阅读这篇文章,我知道这是一个有偏见的来源,但他们是对的:http: //forums.zend.com/viewtopic.php?f=57&t=2242

回答by adam

Free tools all over the place can do this now:

各地的免费工具现在都可以做到这一点:

http://www.showmycode.com/

http://www.showmycode.com/