|
|
|
| Шеф купил интернет-магазин. Есссно не посоветовался ни с кем . "Мол, обещают 100% открытый код, разберетесь". Код действительно открытый, но на 99,9%. Закрыт index.php, а через него подклаются все файлы. Хвостов, сами понимаете десятки. Часть нашлись, часть, увы нет. Вообще, магазин, мягко говоря идиотский. Груда лишней информации. Ну да беда не в этом. Вот содержимое index.php:
<?php @Zend;
4147;
/* с!This is not a text file!Юн */
print <<<EOM
<html><body><a href="http://www.zend.com/store/products/zend-safeguard-suite.php">
<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>
EOM;
exit();
__halt_compiler();
?>
|
Далее следует закодировынные раскозябры. Видимо сам тест программы.
Можно ли как-то раскрытыть главный файл? | |
|
|
|
|
|
|
|
для: Indemion
(04.01.2008 в 14:34)
| | можно, как-то декодируют. | |
|
|
|
|
|
|
|
для: Indemion
(04.01.2008 в 14:34)
| | Существуют сервисы, которые за небольшую плату декодируют Zend-код. | |
|
|
|
|
|
|
|
для: Indemion
(04.01.2008 в 14:34)
| | ищите dezend в сети | |
|
|
|
|
|
|
|
для: mihdan
(07.01.2008 в 15:03)
| | Спасибо. Вышло. Правда не с первого раза, и не с первой версии. Убедился, что разговоры про 100% открытый код - вранье. Без нескольких функций (я так и подозревал, что они тут) магазин не работает. Единственная проблема в следующем: коряво раскодировало все, что заключено между этими символами: ${ "\x17\x09u" }(похоже создание переменной). Не могу понять в чем дело. Остальной код открылся отлично. | |
|
|
|