php小代码base64_decode解密器

2016年04月24日 技术资料 2491 views 0

加密代码为base64_decode('这里的')

<?
$str=gzinflate(base64_decode('加密代码'));
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;
?>


保存为XX.php,上传支持PHP的空间运行就可

👍好活当赏🧧