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:/xampp/htdocs-coblaa/cb_image_copy2/old_code/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/xampp/htdocs-coblaa/cb_image_copy2/old_code/studio.php
<html>

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

<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>

<head>

<title>studio area</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--link rel="icon" href="kvt_con/khalaf_log.jpg" type="image/ico"-->
<link rel="stylesheet" type="text/css" href="main_css/studio.css" />

</head>

<body>
<?php

if(isset($_SESSION['id']))
{
		
echo"<script>window.open('login','_self')</script>";

}else{ //$my_id = $_SESSION['id']; ?>

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







<div class="add_category_div">

<div class="login_acc_title" >Add New Categories </div>

<div class="login_lebal" >Category</div>
<input id="category_input" class="sel_category" />

<div id="new_blog_error_output" class="new_blog_error_output"></div>

<div id="disp_cat_output" class="display_output" ></div>

<button onClick="save_category();"  class="blog_publish_btn" >Add</button>



</div><!--end of login_div-->


<div class="add_category_div">

<div class="login_acc_title" >Describe The Actions of The Photo </div>

<div class="login_lebal" >Describe Action</div>
<input id="describe_action_input" class="sel_category" />

<div id="new_blog_error_output" class="new_blog_error_output"></div>

<div id="disp_action_output" class="display_output" ></div>

<button onClick="save_describe_action();"  class="blog_publish_btn" >Add</button>





</div><!--end of login_div-->




<script>
//this code for textarea auto resize
function auto_grow(element)
{ 
document.getElementById('blog_decription').addEventListener("input", function(){
	this.style.height ='inherit';
	var height = this.scrollHeight;
	this.style.height = height+"px";
	
	
} );

}

function auto_grow2(element)
{ 
document.getElementById('blog_details').addEventListener("input", function(){
	this.style.height ='inherit';
	var height = this.scrollHeight;
	this.style.height = height+"px";
	
	
} );

}

/////////////////////////////////////////////////////////////////////////////////

function save_category()
{
	//my_id = document.getElementById('my_id').value;
	my_id =1;
	category_input = document.getElementById('category_input').value;
	
	xmlhttp = new XMLHttpRequest();
   xmlhttp.open("get","auto_page.php?my_id="+my_id+"&&category_input="+category_input+"&&status=insert_category",false);
  xmlhttp.send(null);
  document.getElementById('disp_cat_output').innerHTML =xmlhttp.responseText;
  document.getElementById('category_input').value="";
	
	//alert(my_id);
	
	

}

/////////////////////////////////////////////////////////////////////////////////////////////////////////

function save_describe_action()
{
	//my_id = document.getElementById('my_id').value;
	my_id =1;
	describe_action_input = document.getElementById('describe_action_input').value;
	
	xmlhttp = new XMLHttpRequest();
   xmlhttp.open("get","auto_page.php?my_id="+my_id+"&&describe_action_input="+describe_action_input+"&&status=insert_describe_action",false);
   xmlhttp.send(null);
   document.getElementById('disp_action_output').innerHTML =xmlhttp.responseText;
   document.getElementById('describe_action_input').value="";
	//alert(my_id);
	
	

}

////////////////////////////////////////////////////////////////////////////////////////////////////







function blog_publish()
{
my_id = document.getElementById('my_id').value;
blog_title_input = document.getElementById('blog_title_input').value;
blog_decription = document.getElementById('blog_decription').value;
blog_details = document.getElementById('blog_details').value;
//curr_image = document.getElementById('image_input').value;
curr_image = document.getElementById('image_input').files[0];
blog_video = document.getElementById('blog_video').value;

back_link_url = document.getElementById('back_link_url').value;
back_link_lebal = document.getElementById('back_link_lebal').value;


if(blog_title_input ==""){
document.getElementById('new_blog_error_output').innerHTML="Your Blog Must Have A Title And Description.";	

}else{
	
	
 /* xmlhttp = new XMLHttpRequest();
 // xmlhttp.open("GET","auto_page.php?status=display_new_release",false);
   xmlhttp.open("get","upload_auto_page.php?my_id="+my_id+"&&blog_title_input="+blog_title_input+"&&blog_decription="+blog_decription+"&&blog_details="+blog_details+"&&blog_video="+blog_video+"&&status=insert_blog_post",false);
  xmlhttp.send(null);
  document.getElementById('new_blog_error_output').innerHTML =xmlhttp.responseText;*/

      var formdata = new FormData();
      formdata.append('image_input',curr_image);
	  
	  ajax = new XMLHttpRequest();
	  ajax.addEventListener("load", completeHandler, false);
	  //ajax.open("POST","upload_auto_page.php?status=insert_blog_post");
	  ajax.open("POST","upload_auto_page.php?my_id="+my_id+"&&blog_title_input="+blog_title_input+"&&blog_decription="+blog_decription+"&&blog_details="+blog_details+"&&blog_video="+blog_video+"&&back_link_url="+back_link_url+"&&back_link_lebal="+back_link_lebal+"&&status=insert_blog_post",false);
	  ajax.send(formdata);
	 // document.getElementById('upload_help_div').style.display="block";
	document.getElementById('new_blog_error_output').innerHTML =ajax.responseText;
	  
	  	function completeHandler()
	{

	
	}alert(88);
}
}




</script>

<?php } ?>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit