403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.48
Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12
System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64
User : win 10 ( 0)
PHP Version : 8.2.12
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  D:/kvt_site_bk/craneblue.ga/cb_image/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/kvt_site_bk/craneblue.ga/cb_image/cinema_studio.php
<html>

<head>
<title>Best Images</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="main_css/cinema_studio.css" />
<!--meta name="google-adsense-account" content="ca-pub-4728417548940171"><!--gog ads  -->

</head>

<div style="display:none;">
<?php
$user_ip = getenv('REMOTE_ADDR');
$geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$user_ip"));
$city = $geo["geoplugin_city"];
$region = $geo["geoplugin_regionName"];
$country = $geo["geoplugin_countryName"];
/*echo"$user_ip";
echo "City: ".$city."<br>";
echo "Region: ".$region."<br>";
echo "Country: ".$country."<br>";
/*
geoplugin_request
geoplugin_status
geoplugin_credit
geoplugin_city
geoplugin_region
geoplugin_areaCode
geoplugin_dmaCode
geoplugin_countryCode
geoplugin_countryName
geoplugin_continentCode
geoplugin_latitude
geoplugin_longitude
geoplugin_regionCode
geoplugin_regionName
geoplugin_currencyCode
geoplugin_currencySymbol
geoplugin_currencySymbol_UTF8
geoplugin_currencyConverter
*/
?> 
</div>

<body id="main_body" >

<?php 
session_start();
//include('db_b.php'); 
include('db.php'); 
//include('function.php');

if(!isset($_SESSION['id'])){ ?>

<a href="Cinema"><button class="login_cinema_btn">Login To Continue</button></a>	

<?php }else{
	
$user_id = $_SESSION['id'];	
	

?>

<input id="my_id" value="<?php echo $user_id ?>" style="display:none;" />

<div id="" class="main_content_div" >

<div id="" class="sub_content_div" >

<div id="" class="player_input_div" >
 <!--video id="cur_vid" class="vinput_player" controls >
  <source src="" type="video/mp4">
  <source src="" type="video/ogg">
  Your browser does not support the video tag.
 </video-->
  <div id="cur_vid_output_div" class="vinput_player" ></div>
 
  <div id="" class="vinput_control" >
  <form method="post" enctype="multipart/form-data" >
  <input type="file" id="video_input" onchange="load_file();" style="display:none;" />
  </form>
  <button onClick="document.getElementById('video_input').click();" class="add_video_btn" >Add Video</button>
  <button id="preview_play" onClick="preview_play();" class="add_video_btn" >Play</button>
  </div>
  
  <div id="" class="inputmovie_name" >
  <span id="movie_nameoutput" ></span>
    <span id="video_input_span" class="video_input_span" >
	<input id="videoname" class="add_namenow_input" placeholder="Enter video name..." />
	<button id="preview_play" onClick="add_vid_name();" class="add_namenow_btn" >Add</button>
	</span>
  </div>
</div>

<div id="" class="player_output_div" >
 <!--video id="cur_vidk" class="voutput_player" controls >
  <source src="movie/728067944.mp4" type="video/mp4">
  <source src="movie/728067944.ogg" type="video/ogg">
  Your browser does not support the video tag.
 </video-->
  <div id="liveplayer" class="vinput_player" ></div>
  <div id="" class="voutput_control" >
  <button onClick="save_live_movie();" class="go_live_btn">Stream Live</button>
   <button onClick="play_live_movie();" class="go_live_btn">Play</button>
  </div>
  <div id="live_mv_name_output" class="outputmovie_name" >Movie name</div>
</div>

</div>

<a href="Cinema"><button class="go_cinema_btn">Cinema Hall</button></a>
<button class="go_cinema_btn">Add History</button>
</div><!--end of main_content_div-->
<div id="vid_output"></div>
<?php } ?>
<script>

const playing_viedo = document.createElement('VIDEO');
const playing_live_viedo = document.createElement('VIDEO');

function load_file()
{
	my_id = document.getElementById('my_id').value;
	play_vid = document.getElementById('cur_vid');
	curr_video = document.getElementById('video_input').files[0];
	file_type = curr_video.type;
	if(file_type !=="video/mp4"){alert('video format not supported');}else{
	var formdata = new FormData();
	formdata.append('video_input',curr_video);
     xmlhttp = new XMLHttpRequest();
	 //xmlhttp.addEventListener("load", completeHandler, false);
     xmlhttp.open("POST","auto_page_movie.php?my_id="+my_id+"&&status=insert_movie",false);
     xmlhttp.send(formdata);
   uop = document.getElementById('vid_output').innerHTML =xmlhttp.responseText;	 
	active_vid = document.getElementById('active_video').value;
	play_tmp_movie();
	disp_movie_name();



	}	
}
disp_tmp_movie()
function disp_tmp_movie()
{
	    my_id = document.getElementById('my_id').value;
		
	   xmlhttp = new XMLHttpRequest();
       xmlhttp.open("GET","auto_page_movie.php?my_id="+my_id+"&&status=disp_tmp_movie",false);
       xmlhttp.send(null);
	   document.getElementById('vid_output').innerHTML =xmlhttp.responseText;
	   active_vid = document.getElementById('active_video').value;
	   play_tmp_movie();
}

function play_tmp_movie()
{
	playing_viedo.style="width:100%;height:100%;";
	playing_viedo.setAttribute("src","movie_tmp/"+active_vid);
	playing_viedo.autoplay =true;
	playing_viedo.play();
	document.getElementById('cur_vid_output_div').appendChild(playing_viedo);

}



status_py1=1;
function preview_play()
{
	if(status_py1 ==1){
	playing_viedo.play();
	document.getElementById('preview_play').innerHTML="Pause";
	status_py1 =0;
	}else{
	playing_viedo.pause();
	document.getElementById('preview_play').innerHTML="Pay";
status_py1 =1;	
	}
}

disp_movie_name()
function disp_movie_name()
{
	    my_id = document.getElementById('my_id').value;
		
	   xmlhttp = new XMLHttpRequest();
       xmlhttp.open("GET","auto_page_movie.php?my_id="+my_id+"&&status=disp_movie_name",false);
       xmlhttp.send(null);
	   document.getElementById('movie_nameoutput').innerHTML =xmlhttp.responseText;
}

function show_video_input_span()
{
	document.getElementById('add_vidname_btn').style.display="none";
	document.getElementById('video_input_span').style.display="block";
}

function add_vid_name()
{   
    my_id = document.getElementById('my_id').value;
	//active_vid = document.getElementById('active_video').value;
	videoname = document.getElementById('videoname').value;
	 
	 if(videoname ==""){}else{
	 
	xmlhttp = new XMLHttpRequest();
    xmlhttp.open("GET","auto_page_movie.php?my_id="+my_id+"&&videoname="+videoname+"&&status=add_vid_name",false);
    xmlhttp.send(null);
	   //document.getElementById('user_tv_display_active_video_output').innerHTML =xmlhttp.responseText; 
	   disp_movie_name();
	   document.getElementById('video_input_span').style.display="none";
	//alert(videoname);
}
}

function show_vid_name_eidt()
{
	document.getElementById('vid_name_eidtspan').style.display="block";
	document.getElementById('vidname_dip_span').style.display="none";
	document.getElementById('videoname_edit').focus();
	//alert(334);
}
function edit_vid_name()
{
	my_id = document.getElementById('my_id').value;
	videoname_edit = document.getElementById('videoname_edit').value;
	xmlhttp = new XMLHttpRequest();
    xmlhttp.open("GET","auto_page_movie.php?my_id="+my_id+"&&videoname_edit="+videoname_edit+"&&status=edit_vid_name",false);
    xmlhttp.send(null);
	document.getElementById('video_input_span').style.display="none";
	disp_movie_name();
	   //document.getElementById('user_tv_display_active_video_output').innerHTML =xmlhttp.responseText;
}



function save_live_movie()
{ 
	my_id = document.getElementById('my_id').value;
	active_vid = document.getElementById('active_video').value;
	xmlhttp = new XMLHttpRequest();
    xmlhttp.open("GET","auto_page_movie.php?my_id="+my_id+"&&active_vid="+active_vid+"&&status=save_live_movie",false);
    xmlhttp.send(null);
	disp_livemovie()
	play_live_movie();
}
disp_livemovie()
function disp_livemovie()
{
	    my_id = document.getElementById('my_id').value;
		
	   xmlhttp = new XMLHttpRequest();
       xmlhttp.open("GET","auto_page_movie.php?my_id="+my_id+"&&status=disp_livemovie",false);
       xmlhttp.send(null);
	   document.getElementById('live_mv_name_output').innerHTML =xmlhttp.responseText;
	   live_video = document.getElementById('live_video').value;
	   play_tmp_movie();
}
//play_live_movie();
function play_live_movie()
{ 
	playing_live_viedo.style="width:100%;height:100%;";
	playing_live_viedo.setAttribute("src","movie/"+live_video);
	playing_live_viedo.autoplay =true;
	playing_live_viedo.play();
	document.getElementById('liveplayer').appendChild(playing_live_viedo);

}


</script>




</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit