查找使用Zend Guard编码的PHP文件

时间:2013-06-19 16:47:45

标签: php zend-guard

有没有办法在源树中找到使用Zend Guard编码的PHP文件?

关于尝试解码Zend编码文件有existing questions,但我继承了一个大型PHP应用程序,必须在某些远程库中的某处使用Zend编码文件,因为我保留在我的应用程序的错误日志中获取以下输出:

//Copyright UserScape, Inc. 2005-2008

<html><body>
<a href="http://www.zend.com/products/zend_guard">
<img border="0" src="http://www.zend.com/images/store/safeguard_optimizer_img.gif" align="right">
</a>
<center><h1>Zend Optimizer not installed</h1></center>
<p>This file was encoded by the
<a href="http://www.zend.com/products/zend_guard">Zend Guard</a>. 
In order to run it, please install the 
<a href="http://www.zend.com/products/zend_optimizer">Zend Optimizer</a> 
(available without charge), version 3.0.0 or later. </p>
<h2>Seeing this message instead of the website you expected?</h2>
This means that this webserver is not configured correctly. 
In order to view this website properly, please contact the 
website's system administrator/webmaster with the following 
message:<br><br>
<tt>The component "Zend Optimizer" is not installed on the
Web Server and therefore cannot service encoded files. 
Please download and install the Zend Optimizer (available 
without charge) on the Web Server.</tt><br><br>
<b>Note</b>: Zend Technologies cannot resolve issues related
to this message appearing on websites not belonging to 
<a href="http://www.zend.com">Zend Technologies</a>. 
<h2>What is the Zend Optimizer?</h2>
<p>The Zend Optimizer is one of the most popular PHP plugins 
for performance-improvement, and has been available without 
charge, since the early days of PHP 4. It improves performance 
by scanning PHP's intermediate code and passing it through 
multiple Optimization Passes to replace inefficient code 
patterns with more efficient code blocks. The replaced code 
blocks perform exactly the same operations as the original 
code, only faster. </p>
<p>In addition to improving performance, the Zend Optimizer 
also enables PHP to transparently load files encoded by the 
Zend Guard. </p>
<p>The Zend Optimizer is a free product available for download 
from <a href="http://www.zend.com">Zend Technologies</a>. 
Zend Technologies also developed the PHP scripting engine, 
known as the <a href="http://www.zend.com/products/zend_engine">Zend Engine</a>.</p>
</body></html>

我有没有的想法这个文件在应用程序中的位置!我一直无法找到有关Zend Guard编码的文件特征的任何信息,因此我不知道搜索文件系统的内容。 Google一直无益。简单的grep用于“userscape”“helpspot”(显然是UserScape的产品),甚至“zend”也是空白。

编辑:但是,根据the FAQ,Zend Guard使用public key crypto,所以我很确定文件中不会有任何可识别的PHP代码。


是否有通用方法在文件系统中找到Zend Guard编码的PHP文件?是否有可搜索的文件的常用属性?

1 个答案:

答案 0 :(得分:1)

我相信大多数Zend Optimizer编码的文件都会以类似的标题开头:

<?php @Zend;

它们还将包含您在错误消息中看到的所有文本,包括“Zend Optimizer”字样。所以你可以搜索它。 :)

相关问题