
23.05.2009, 23:29
|
|
Новичок
Регистрация: 22.05.2009
Сообщений: 5
Провел на форуме: 4041
Репутация:
0
|
|
на форуме была подобная тема там написали что можно открыть таким скриптом
Код:
<?php
$dir = ".";
function decrypt($data,$filename,$times=1)
{
error_reporting(0);
function bulk($str)
{
$str = preg_replace('~^\?\>~','',$str);
return str_ireplace(array('<?php','<?','?>','eval','__FILE__'),array('','','/*','echo','$_FILE__'),$str);
}
$f = $data;
$_FILE__=$filename;
for ($i=0;$i<$times;$i++)
{
ob_start();
eval(bulk($f));
$f = ob_get_contents();
ob_end_clean();
}
return preg_replace(array('~^\?\>~','~\<\?$~'),'',$f);
}
function massdecrypt($dir)
{
if(!is_dir($dir)) return $out.="$dir - не папка";
$dirs = scandir($dir);
foreach ($dirs as $one)
{
if ($one =='.' || $one =='..') continue;
echo $one.' - ';
$one = realpath($dir.'/'.$one);
if (is_dir($one)) {echo "папка<br>\r\n";massdecrypt($one);continue;}
$in=file_get_contents($one);
if (stripos($in,'$OOO0000O0=$OOO000000')===false || stripos($in,'massdecrypt')!==false) {echo "пропущено<br>\r\n"; continue;}
file_put_contents($one, decrypt($in,$one,6));
echo "обработано<br>\r\n";
flush();ob_flush();
}
}
massdecrypt($dir);
flush();ob_flush();
?>
но что то не работает
|
|
|