PHP $OOO0O0O00=__FILE__;$OOO000000 解密工具 批量解密文件 微盾PHP脚本加密及解密算法<转>

2013年1月14日21:40:51PHP $OOO0O0O00=__FILE__;$OOO000000 解密工具 批量解密文件 微盾PHP脚本加密及解密算法<转>已关闭评论105 1209字阅读4分1秒

PHP $OOO0O0O00=__FILE__;$OOO000000 解密工具 批量解密文件 微盾PHP脚本加密及解密算法文章源自LsevenTT博客-站群哥-https://www.LsevenTT.com/archives/14.html

 文章源自LsevenTT博客-站群哥-https://www.LsevenTT.com/archives/14.html

 文章源自LsevenTT博客-站群哥-https://www.LsevenTT.com/archives/14.html

 文章源自LsevenTT博客-站群哥-https://www.LsevenTT.com/archives/14.html

    <?php

    /*微盾PHP脚本加密及解密算法*/

    function get_filetree($path){

    $tree = array();

    foreach(glob($path . '/*') as $single){

    if(is_dir($single)){

    $tree = array_merge($tree,get_filetree($single));

    } else {

    $tree[] = $single;

    }

    }

    return $tree;

    }

    https://www.lseventt.com/




    //Lseven

    function eval_decode($File)

    {

    $Lines = file($File);

    $Content;

    if(preg_match("/O0O0000O0\('.*'\)/", $Lines[1], $S)){

    $Content = str_replace("O0O0000O0('", "", $S[0]);

    $Content = str_replace("')", "", $Content);

    $Content = base64_decode($Content);

    } else {

    return "file not encode!";

    }




    $Key;

    if(preg_match("/\),'.*',/", $Content, $K)){

    $Key = str_replace("),'", "", $K[0]);

    $Key = str_replace("',", "", $Key);

    } else {

    return "not decode key!";

    }




    $Length;

    if(preg_match("/,\d*\),/", $Content, $K)){

    $Length = str_replace("),", "", $K[0]);

    $Length = str_replace(",", "", $Length);

    } else {

    return "not decode base64 string!";

    }

    $Secret = substr($Lines[2], $Length);

    $Decode = "<?php".base64_decode(strtr($Secret,$Key,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')) ."?>";

    file_put_contents($File, $Decode);

    return "file decode success!";

    }




    //要需密的文件路径,文件夹位置

    $filelist = get_filetree("D://ltseventt.com");

    foreach($filelist as $value){

    echo $value." :\t\t".eval_decode($value) . "\n\r<br>";

    }




    ?>

 文章源自LsevenTT博客-站群哥-https://www.LsevenTT.com/archives/14.html

继续阅读
解密$O00OO0=urldecode PHP相关

解密$O00OO0=urldecode

< ?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%6F...
gzinflate&base64_decode加密&解密 PHP相关

gzinflate&base64_decode加密&解密

gzinflate&base64_decode解密代码: < ?php $Code = '要解密的代码'; // base64编码 $File = 'decoded.php';//解码后保存的文件 $Temp = base64...