Показать сообщение отдельно

  #6  
Старый 09.07.2009, 11:34
Gifts
Reservists Of Antichat - Level 6
Регистрация: 25.04.2008
Сообщений: 827
С нами: 9497186

Репутация: 1304


По умолчанию

mff декриптовать этим:
PHP код:
<?PHP
// Установите папку
$dir = 'Z:\\temp\\cncat-4.3.2\\cncat\\';

function 
bulk($str)
{
    
$str = preg_replace('~^\?\>~','',$str);
    return 
str_ireplace(array('<?php','<?','?>','eval','__FILE__'),array('','','/*','echo','$_FILE__'),$str);
}
function 
decrypt($data,$filename='',$times=1)
{
    
#error_reporting(0);

    
$f = $data;
    
$_FILE__=$filename;
    
    for (
$i=0;$i<$times;$i++)
    {
        
ob_start();
        eval(
bulk($f));
        
$f = ob_get_contents();
        
ob_end_clean(); 
    }
    return 
$f;#preg_replace(array('~^\?\>~','~\<\?$~'),'',$f);
}  



function 
mass($dir)
{
    
$dir = realpath($dir);
    
$dirs = opendir($dir);

    while (
$one = readdir($dirs))
    {
        if (
$one=='.' || $one=='..') continue;
        if (
is_dir($dir.'\\'.$one)) mass($dir.'\\'.$one);
        if (
strpos($one,'.php')===false) continue;
        
$tmp = file_get_contents($dir.'\\'.$one);
        
        if (
strpos($tmp,'CNCrypto')===false) continue;
        
$tmp = decrypt($tmp,$dir.'\\'.$one,2);
        
file_put_contents($dir.'\\'.$one,'<?PHP '.$tmp);

    }
}
mass($dir);

?>
 
Ответить с цитированием