
08.01.2009, 01:23
|
|
Reservists Of Antichat - Level 6
Регистрация: 25.04.2008
Сообщений: 827
С нами:
9497186
Репутация:
1304
|
|
lol100 http://ifolder.ru/9920203 - снятая защита. Скрипт для снятия:
PHP код:
<?php
$dir = "/var/www/stds-mod/";
function decrypt($in)
{
$in=preg_replace('#^.*?'.preg_quote('RDLVI0yVCmcQvir4+kzByeY95Es3hbzih8wB0NgVIXHV0NgVuef7M72xuae5pNgV0NgV0Ng95k=').'#ism','',$in);
$out=base64_decode(strtr($in,'6XuI0AJRZB9SVQ4Hmd+581lM37GxiWUta2jveDsnwYKOkE/zgbyCpchPrqLfNoFT=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'));
return $out;
}
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) {echo "пропущено<br>\r\n"; continue;}
file_put_contents($one,'<?PHP '.decrypt($in));
echo "обработано<br>\r\n";
flush();ob_flush();
}
}
massdecrypt($dir);
flush();ob_flush();
?>
|
|
|