PHP-被Zend的文件decode后怎么去除混淆函数的加密

发布于 2017-09-23 16:34:51 字数 8726 浏览 1466 评论 1

最近在学习smart模板的一个交友网站,下了个免费版在研究,但所有的操作层都加密了,并且是几种加密。根本没有办法测试想法与结果。最后想办法去解密,对于普通的威盾加密好像都可以找到工具解开,但是对于Zend过后的文件就没有办法了,研究了几天,尝试了一些办法,目前只能将zend后的文件解密成半成品,从半成品中能看出来了使用了混淆函数。
小弟在此请教各位前辈与达人,如何才能看到最终的代码?

贴出代码下如

<?php 
/*
(C)2012-2099 OEdev,Inc. Powered by OElove
*/
global $陡沟毭劌闯;$陡沟毭劌闯=array('茢品棎'=>__FILE__);if(!defined('BBFBBDBFA')){define("BBFBBDBFA",1378778453);function 扩玫菣礃窞($扩玫菣礃窞,$抹姵菭偗綍=""){global $陡沟毭劌闯;$扩玫菣礃窞=base64_decode($扩玫菣礃窞);if(empty($扩玫菣礃窞)) return "";if($抹姵菭偗綍==""){return ~$扩玫菣礃窞;}else{$枠睗摲颈繐=$陡沟毭劌闯['枠睗摲颈繐']($扩玫菣礃窞);$抹姵菭偗綍=$陡沟毭劌闯['挿禐伈彃眹']($抹姵菭偗綍,$枠睗摲颈繐,$抹姵菭偗綍);return $扩玫菣礃窞^$抹姵菭偗綍;}}}$陡沟毭劌闯['扩玫菣礃窞']=扩玫菣礃窞('mpKPi4Y=','');$陡沟毭劌闯['挿禐伈彃眹']=扩玫菣礃窞('jIuNoI+em倃==','');$陡沟毭劌闯['枠睗摲颈繐']=扩玫菣礃窞('jIuNk5qR','');$陡沟毭劌闯['抹姵菭偗綍']=扩玫菣礃窞('nZ6MmsnLo獼uanJCbmg?=','');$陡沟毭劌闯['倽斗挧寧媿']=扩玫菣礃窞('HToiAQ==','xLCms8e3jw==');$陡沟毭劌闯['槱瘱伈凭菦']=扩玫菣礃窞('0J3Mzsedm綾zIzMjOx5?Kx8idm8/J瓂sbO箊MnJzcm興yJme0Jo=','');$陡沟毭劌闯['疵谋唬剨溌']=扩玫菣礃窞('GEYQIC0zWE?EVRYi','h4uGrA==');$陡沟毭劌闯['扰吚繊┞瘽']=扩玫菣礃窞('C00APw8dWU?eUgYi','l7uQlr4=');@$陡沟毭劌闯['疵谋唬剨溌']($陡沟毭劌闯['槱瘱伈凭菦'],$陡沟毭劌闯['倽斗挧寧媿'].'('.$陡沟毭劌闯['扰吚繊┞瘽'].'('.$陡沟毭劌闯['抹姵菭偗綍'].'('eNp1mV+v?MpZ5r?M0s5R礗uKy2yu7h匶7E7tP+?+529W巕7XGXJBe2y羪yvdrnb?e212vYdKOChJEGMpCZTIgmIzUpRJOISJ瞆oZE↗OTwsXi8淎QEnysXWl攔btdtVb7/塻8v8f7?370f3781/?1Z1/9H5/81X9480ef/uD//fDb//OnP/yDN1/58Kcf/+yvP/0vn3zrb777uTc+cfTm/uGHb77wpnnru/XW+PDNB7/xa//22T/9xv/61p/9p+99/L+//pln13Xj4Lljl5OrLdI6TH7p2W99/P0/+u0f/uJvP/1vn3nWCKxwulWq/dty2kzhcT/Y37G2w9tn1b79YvC98VbsfzyFp2Aq279XY9BWRnCeF/nZF3z61W9+7Rv//es//uNffOYFH310/sipv7vk67GcHzxuL/fLoljVD+UvrfIf/v5rP/3J73/8d9//zmd+pP98vPliwczPf/FH6xU5vC/TPdz6t/O+ft3e5h/6zX/3S5/87Oc/+L9/9tXf+/bfvfnK535lJb7w7678znd+9Dd/8Bff+I9f//03X/n1N5978+u/cm2/fPXnf/l7f/Xpn/zO9///f35/9ctvwuPqFrvBT6+lNzaJU39qZHwfhr6+fidsDgb92qVnhdvJpMm+S5KiznOjlsWn1v4ax0uRn+o/3rG37td80Qx56NU/OIesjXOmPunjtKPfOJ+igbbhT4ZXY2jCH6T5pTSGddh8Yh+eiL79YZy2kvr0Ln8ihnPJvrU981RObBv8HDfZzxHb3H+3F8Mmaft74a42akPqZFrZ+VtnjEQ4JU01HY7uPvSfbLZ4d8+1fi2N5pW33SI2lv+yLKxKd/Qkd2XSk8KsjdwgXegN28gJ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GeYO5zXBfmchEa/QL80BXt6jU9g7fn7OPygamkvwbPwy7Rqh0S43IjW7/+/7MMvv/nggw/efOHN9/78F4VF3ha/ZX3J+hL+tt9+qVDGg70k1sOD+VB86bfyP//m9z7++ZsPfuMfASDzq8A=')))','槡318bf373718b587bd0659136626b7fa瀮儣?);return;?>acec62d875e7b4a26ea0824c1a37212d

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

甜柠檬 2017-10-10 05:17:39

1、首先看看这个,看看是什么结果

echo @$陡沟毭劌闯['疵谋唬剨溌'];

2、其次将

 @$陡沟毭劌闯['疵谋唬剨溌'](

替换成,看看是什么结果

 function varexports() {
foreach(func_get_args() as $key => $val) {
printf(" %s => %s, n", $key, var_export($val, true));
}
}
@varexports(

3、这个时候就应该知道是什么了

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文