全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 3823|回复: 20

哪位胸低能解密BASE64加密的PHP文件?

[复制链接]
发表于 2011-6-9 17:32:05 | 显示全部楼层 |阅读模式
是一个WP模板2个PHP文件,MJJ的老外,把footer.php和functions.php加密了,在foot里加其他东西后WP直接打不开
自己尝试解密里面有乱码。。。解密高手帮帮忙吧~~~
文件压缩包在附件里

[ 本帖最后由 walkman660 于 2011-6-9 18:14 编辑 ]

BASE64.zip

4.21 KB, 下载次数: 208

发表于 2011-6-9 17:33:36 | 显示全部楼层
decode_base64还是base64_decode?

评分

参与人数 1威望 +5 收起 理由
walkman660 + 5 原创内容

查看全部评分

 楼主| 发表于 2011-6-9 17:37:05 | 显示全部楼层
原帖由 l12ab 于 2011-6-9 17:33 发表
decode_base64还是base64_decode?

eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='))
不懂唉~ 应该是用base64加密的,解出来源码就好了~~~

评分

参与人数 1威望 +1 收起 理由
Host.HowPick + 1 把 eval 换成 print 就可以了。

查看全部评分

发表于 2011-6-9 17:38:11 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| 发表于 2011-6-9 17:40:14 | 显示全部楼层
原帖由 Administrator 于 2011-6-9 17:38 发表
没啥难度
晚上还没有帮你弄的话我给你看看吧

多谢A大~
发表于 2011-6-9 17:40:21 | 显示全部楼层
$_X=base64_decode($_X);$_X=strtr($_X,'123456aouie','aouie123456');$_R=ereg_replace('__FILE__',"'".$_F."'",$_X);eval($_R);$_R=0;$_X=0;

是你需要的?

评分

参与人数 1威望 +5 收起 理由
walkman660 + 5 原创内容

查看全部评分

发表于 2011-6-9 17:41:09 | 显示全部楼层
把所有eval改成echo就好了吧?

评分

参与人数 1威望 +5 收起 理由
walkman660 + 5 原创内容

查看全部评分

 楼主| 发表于 2011-6-9 17:53:17 | 显示全部楼层
原帖由 l22576283 于 2011-6-9 17:40 发表
$_X=base64_decode($_X);$_X=strtr($_X,'123456aouie','aouie123456');$_R=ereg_replace('__FILE__',"'".$_F."'",$_X);eval($_R);$_R=0;$_X=0;

是你需要的?

不是。。。
比如footer.php解出来是
  1.                                                                 <!-- sidebar.php END -->
  2.                                                         </td>
  3.                                                 </tr>
  4.                                         </table>
  5.                                 </div>
  6.                         <!-- Grid for content and sidebar END -->                                               
  7.                 </div>
  8.         </div>
  9. <!-- Content Background END -->       
  10. <!-- Footer START -->
  11. <div id="footer1">
  12.         <div id="footer2">
  13.         <table width="990" border="0" cellspacing="0" cellpadding="0" class="footer3" height="97"><tr>               
  14.         <td width="50%" align="left" valign="top">
  15.         <div class="footer4">
  16.         In collaboration with <a href="http://developingpsychicpowers.com">Developing Psychic Powers</a>, <a href="http://trancehealer.com">Trance Healing</a> and <a href="http://mindpowerbooks.com">Mind Power Books</a>.
  17.         </div>
  18.         </td>                                       
  19.         <td width="50%" align="right" valign="top">       
  20.         <table border="0" cellspacing="0" cellpadding="0" class="footer5" height="23">
  21.           <tr>
  22.                 <td align="left" valign="top"><div class="footer6">Designed by</div></td>
  23.                 <td width="13" class="footer7">&nbsp;</td>
  24.                 <td align="center" valign="top"><div class="footer9"><a href="http://yourchristianspace.com">Christian Music</a></div></td>
  25.                 <td width="13" class="footer8">&nbsp;</td>
  26.           </tr>
  27.         </table>
  28.         </td>       
  29.         </tr></table>
  30.         </div>
  31. </div>       
  32. <!-- Footer END -->
复制代码
想要这样的结果。但最终footer.php解出来是不是这样的我还不知道,这个只是我猜的~
最重要的是functions.php,但是functions.php加密了。functions.php应该是有检查footer.php的函数,如果footer.php改变了,那wp就打不开了..
发表于 2011-6-9 17:56:04 | 显示全部楼层
看看是不是你想要的

tmp.zip

2.25 KB, 下载次数: 200

评分

参与人数 1威望 +15 收起 理由
walkman660 + 15 3Q~~~

查看全部评分

发表于 2011-6-9 17:57:30 | 显示全部楼层
eval改echo就可以看到了

评分

参与人数 1威望 +5 收起 理由
walkman660 + 5 原创内容

查看全部评分

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-5-14 06:57 , Processed in 0.075650 second(s), 21 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表