Home > Backend Development > PHP Tutorial > 求大牛帮忙破解phpchart的加密

求大牛帮忙破解phpchart的加密

WBOY
Release: 2016-06-23 14:06:28
Original
1312 people have browsed it

上次看一个网站介绍phpchart做图表很好看。于是就用了它的免费版phpchart_lite做了一些图表放在网站上。但现在他们似乎改版了。phpchart_lite只支持line render。以前可是支持全部的啊。结果我的网页打不开了。。。他们源码是加密的,求大牛帮我看看吧。千谢万谢。
我以后不会用他们了。只是以前写的那些php程序改版真的麻烦。这是个教训啊。以后用网上的资源要慎重。不要用那些源码加密的。呜呜呜

***************************Begin******************************
>4);if($TC9A16C47DA8EEE87){$TA7FB8B0A1C0E2E9E=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])&0x0F)+3;for($T17D35BB9DF7A47E4=0;$T17D35BB9DF7A47E4".$T43D5686285035C13;return $T43D5686285035C13;}}}}eval(TC9A16C47DA8EEE87("QAAAPD9waHAgICBlcnJvcl9yZQABcG9ydGluZyhFX0FMTCk7AaAAACBpbmlfc2V0KCdkaXNwbGEggHlfAsJzJywgMQITICBpZighaUAAcwJRJF9TRVJWRVJbJ0RPQ1UAA01FTlRfUk9PVCddKSl7AnECbQABU0NSSVBUX0ZJTEVOQU1FAoMwQCAgBH8EdCA9IHN0CpJsYWNlKCASAydcXAiQJy8AUHN1YnN0cigDtwXOFEQsIDAAMC0CYGxlbgKYUEhQC3BMRsfgB+ENMX07IAAwCvENbw1vD9ANbVBBVEhfAC9UUkFOU0xBVEVEBYF7FLAJtxHcDW///g1tC0AZ4Q9SD0APYwBiBVcHbw7gADAPHw8fDxIKMCAAAGRlZmluZSgnQURESVRJT04FAkFMX0pTGgJTFkBpbXBsb2QB8CyAUADQYXJyYXkoKSkTMSADn0xfQ1O4KAOvJwOvA8cGoEhJR0hMAEBUA+JTVFkgCExFBrAiemVuYnVybiIGw3JlcQEAdWlyZV9vbiBAZGlybmFtZShAAl8KYl9fKSAuJy9jb25mLi2wJ+AAAxIDDwMNc2VydmVyL2Nsc191dDYdaWwDvwa/RQa0A7hheGVzA78DvwO/Xwsf4cAOHw4ZB2hncmlkB28HbwdvX2xlZ2Vu1A8D3xWfTAPfXxXwY2hhcnR4B98H3wQPRVA8EHJpEw8db0HAFr90aXRsZQeXPz4="));?>
*****************************End***********************************


回复讨论(解决方案)

在网上大概搜索了一下,结果就出来了这么个东西。。。你看看有没有帮助啊。。

<?php   error_reporting(E_ALL);    ini_set('display_errors', 1);      if(!isset($_SERVER['DOCUMENT_ROOT'])){ if(isset($_SERVER['SCRIPT_FILENAME'])){   $_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF'])));  }; };  if(!isset($_SERVER['DOCUMENT_ROOT'])){ if(isset($_SERVER['PATH_TRANSLATED'])){   $_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr(str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']), 0, 0-strlen($_SERVER['PHP_SELF'])));  }; };      define('ADDITIONAL_JS_FILES', implode(',', array()));    define('ADDITIONAL_CSS_FILES', implode(',', array()));      define('JS_HIGHLIGHT_CSS_STYLE', "zenburn");    require_once(dirname(__FILE__) .'/conf.php');   require_once(dirname(__FILE__) .'/server/cls_util.php');   require_once(dirname(__FILE__) .'/server/cls_axes.php');   require_once(dirname(__FILE__) .'/server/cls_conf.php');   require_once(dirname(__FILE__) .'/server/cls_grid.php');   require_once(dirname(__FILE__) .'/server/cls_legend.php');   require_once(dirname(__FILE__) .'/server/cls_phpchartx.php');   require_once(dirname(__FILE__) .'/server/cls_series.php');   require_once(dirname(__FILE__) .'/server/cls_title.php');   ?>
Copy after login

这不就是个入口文件吗?

<?phperror_reporting(E_ALL);ini_set('display_errors', 1);if(!isset($_SERVER['DOCUMENT_ROOT'])) {  if(isset($_SERVER['SCRIPT_FILENAME'])) {    $_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF'])));  }}if(!isset($_SERVER['DOCUMENT_ROOT'])) {  if(isset($_SERVER['PATH_TRANSLATED'])) {    $_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr(str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']), 0, 0-strlen($_SERVER['PHP_SELF'])));  }}define('ADDITIONAL_JS_FILES', implode(',', array()));define('ADDITIONAL_CSS_FILES', implode(',', array()));define('JS_HIGHLIGHT_CSS_STYLE', "zenburn");require_once(dirname(__FILE__) .'/conf.php');require_once(dirname(__FILE__) .'/server/cls_util.php');require_once(dirname(__FILE__) .'/server/cls_axes.php');require_once(dirname(__FILE__) .'/server/cls_conf.php');require_once(dirname(__FILE__) .'/server/cls_grid.php');require_once(dirname(__FILE__) .'/server/cls_legend.php');require_once(dirname(__FILE__) .'/server/cls_phpchartx.php');require_once(dirname(__FILE__) .'/server/cls_series.php');require_once(dirname(__FILE__) .'/server/cls_title.php');?>
Copy after login

另外需要注意的是:老的 phpchart 是用 js 绘图的,而新版 phpchart 改用 HTML5 绘图
如果你的用户群不都是用支持html5的浏览器的话,请不要盲目升级

大大感谢u010288546和xuzuning版主的热心帮助!
我不是想升级啊,我只是希望以前的代码能继续运行。可是,自从他们升级之后,我的旧版也无法运行了。(是不是他们写的程序中有悄悄与他们服务器联系的后台程序啊?)请问有没有办法还可以用啊?
还有如何破解的?因为我想查看他们是如何禁止我使用他们的代码的。

现在又可以用了,?

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template