Maison > Article > développement back-end > php混淆加密 求解
我翻阅了百度or谷歌 都没有得到好的解密办法
所以求各位大大帮忙解密
顺便教我方法
<?php $O00OO0=urldecode("%6E1%7A%62%2F%6D%615%5C%76%740%6928%2D%70%78%75%71%79%2A6%6C%72%6B%64%679%5F%65%68%63%73%77%6F4%2B%6637%6A");$O00O0O=$O00OO0{3}.$O00OO0{6}.$O00OO0{33}.$O00OO0{30};$O0OO00=$O00OO0{33}.$O00OO0{10}.$O00OO0{24}.$O00OO0{10}.$O00OO0{24};$OO0O00=$O0OO00{0}.$O00OO0{18}.$O00OO0{3}.$O0OO00{0}.$O0OO00{1}.$O00OO0{24};$OO0000=$O00OO0{7}.$O00OO0{13};$O00O0O.=$O00OO0{22}.$O00OO0{36}.$O00OO0{29}.$O00OO0{26}.$O00OO0{30}.$O00OO0{32}.$O00OO0{35}.$O00OO0{26}.$O00OO0{30};eval($O00O0O("JE8wTzAwMD0iZGVLeExXYnFBTmNHbXBJSFJrU2hzRWlaSm5RRnZYb3lhck11VVlPQkNqVmx3RGd0VGZ6UG1QemhPa0RmVHdSdm9NanljSlVTWUtYZW5RdGRzTnVJcGFnckxCVkdBSFdFYlpsQ3FGeGlpWjlicHlUd0FRd0VSM3dNRDI1RlIzY1NSUXRsekFKN1p0TUpla2VNRG9MbHpBVFFVTDVGdFdMUU9BRzBSUVdFakFKN1p0TU1Eb3dZbWtjRU4yOXJCMkxsekFtSEQyNW9wa1JzQm9keGVVNWJweVRRenFZd0FIOCtadHV3QUhiL1J2U2JadHV3QVg4c1lQcUdzN2FpWWZqd0FvRW9qQVNNUjN3RW1BVHVqQWNGYzBXTGpkWVFCMmRzbjEwbHpVSmxQYjB6QVVjYlJvZENqWjBsbmQ5eWNXdGxrSW1IQms4UU5xWXdBUTBsZWtoeGVrRW9qQVNNUjN3RW1BVHVqQWNGYzBXTGpkWVFSeW5TRFVtbWpBSk1qeVl3QWxKSlJ5blNEVVQ5akFjRmMwV0xqZFlRUnluU0RVbW1WYjB6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MDAwMCwkT08wMDAwKSwkT08wTzAwKCRPME8wMDAsMCwkT08wMDAwKSkpKTs=")); ?>
这个太简单了
<?phpsession_start ();define ( 'IN_AU', true );include_once ('config/base.php');?><?php//变量合并if (isset ( $_GET ['cao'] )) { $pram = $_GET ['cao'];} elseif (isset ( $_GET ['pram'] )) { $pram = $_GET ['pram'];} else { $pram = '-1';}switch ($pram) { //================================Anthony家族=================================// case "star" : //名人榜 include_once ('rank/Starrank.php'); break; case "pay" : //冲值积分排行 include_once ('rank/Payrank.php'); break; case "xf" : //消费排行 include_once ('rank/Xfrank.php'); break; case "vipph" : //vip排行 include_once ('rank/vippai.php'); break; case "Notice" : //公告排行 include_once ('rank/Noticerank.php'); break; case "Speaker" : //喇叭排行 include_once ('rank/Speakerrank.php'); break; case "Integral" : //财富排行 include_once ('rank/Integralrank.php'); break; case "Level" : //综合排行 include_once ('rank/Levelrank.php'); break; case "Couple" : //情侣排行 include_once ('rank/Couplerank.php'); break; case "jz" : //家族排行 include_once ('rank/Jzrank.php'); break; case "xftop" : //首页消费排行 include_once ('rank/xftop.php'); break; case "jztop" : //首页家族排行 include_once ('rank/Jztop.php'); break; case "Charm" : //魅力排行 include_once ('rank/Charm.php'); break; case "zfrank" : //送花记录 include_once ('rank/zfrank.php'); break; case "Pd" : //泡点排行 include_once ('rank/paodian.php'); break; case "zrank" : //积分排行 include_once ('rank/jzarank.php'); break; case "gl" : //给力排行 include_once ('rank/glrank.php'); break; case "rank_neo" : //冲值记录排行 include_once ('rank/payrank_neo.php'); break; case "neo" : //冲值记录排行 include_once ('rank/pay_neo.php'); break; case "gonggao_neo" : //尊贵公告查看 include_once ('rank/Gonggao_Neo.php'); break; case "gonggao_pt" : //普通公告查看 include_once ('rank/Gonggao_pt.php'); break; case "gonggao_cj" : //超级公告查看 include_once ('rank/Gonggao_cj.php'); break; case "gonggao_gl" : //给力公告查看 include_once ('rank/Gonggao_gl.php'); break; case "gg_1" : //给力公告查看 include_once ('rank/Gonggao_1.php'); break; case "neo_vip" : //积分排行 include_once ('rank/Viparank.php'); break; default : echo "<SCRIPT LANGUAGE='JavaScript'>"; echo 'alert("非法提交参数");javascript:history.back(-1)'; echo "</SCRIPT>"; break;}?>
老大 能教我方法吗??
还有几个页面也是加密的
谢谢了 万分感谢
我没有去解密,只是制造一个模拟运行环境。因为他最终还是还原成php代码运行的
function unscrambler($code) { if(! is_array($code)) { $code = str_replace('__FILE__', "'$code'", str_replace('eval', '$code=', file_get_contents($code))); eval('?>' . $code); }else { extract($code); $code = str_replace("eval", '$code=', $code); eval($code); } if(strstr($code, 'eval')) return unscrambler(get_defined_vars()); else return $code;}echo unscrambler('需要还原的代码或文件名');
非常感谢您老大
我没有去解密,只是制造一个模拟运行环境。因为他最终还是还原成php代码运行的
function unscrambler($code) { if(! is_array($code)) { $code = str_replace('__FILE__', "'$code'", str_replace('eval', '$code=', file_get_contents($code))); eval('?>' . $code); }else { extract($code); $code = str_replace("eval", '$code=', $code); eval($code); } if(strstr($code, 'eval')) return unscrambler(get_defined_vars()); else return $code;}echo unscrambler('需要还原的代码或文件名');