这php程序给Zend加密了。破解工具有一堆,但效果不是很理想,自己百度一下吧。这段程序貌似是德国人写的,是个游戏网站中的一段代码,感觉上是wordpress的二次开发。wordpress是开源的,你直接用wordpress就行了,搞得那么复杂干啥呢?
使用 base64_decode 函数即可
$decoeded_str = base64_decode($original_str);
另外,站长团上有产品团购,便宜有保证
$str=gzinflate(base64_decode('DZS3soRYAkM/Z2eKAH+B2ohuPI...这一串是你要解密的代码,我省略了,放于这就运行就可以了...8+///773/8D'));
while (preg_match("/base64_decode\('.*?'\)/s",$str)){
if (preg_match("/eval\(gzinflate\(base64_decode\('(.*?)'\)\)\);/s",$str,$reg)){
$s=gzinflate(base64_decode($reg[1]));
$str=str_replace("eval(gzinflate(base64_decode('$reg[1]')));",$s,$str);
}
elseif (preg_match("/eval\(gzinflate\(str_rot13\(base64_decode\('([^']*)'\)\)\)\);/",$str,$reg)){
$s=gzinflate(str_rot13(base64_decode($reg[1])));
$str=str_replace("eval(gzinflate(str_rot13(base64_decode('$reg[1]'))));",$s,$str);
}
else break;
$str=str_replace(' ?>','',$str);
}
echo $str;
?>