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/quzi.php
<html>

<?php 
session_start();
include('db.php'); 

if(isset($_SESSION['my_id']))
{
$my_id = $_SESSION['my_id'];		
}
?>

<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>crane blue studio</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/quzi.css" />

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


<body>
<?php 
if(!isset($_SESSION['my_id']))
{
echo"<script>window.open('login','_self')</script>";		
}else{
?>

<div class="home_div" >
<img src="main_icon/back_btn.png"onClick="history.back();" class="back_img" />
<span id="user_name" class="user_name" >Read and earn</span>
<?php 
if($my_id=='CB1'){

?>
<button onClick="show_add_qtn();" class="show_add_qtn_btn" >Add</button>
<?php } ?>
</div><!--end of login_div-->

<div class="main_continer" >
<span id="answered_quzi_output" ></span>


<!--div class="compelete_qtn_div" >
<span class="qtn_lebal" >What is Africa</span>
<span class="qtn_awade" >Earned 200</span>
<span class="qtn_ans_date" >06-07-2024</span>
<span class="qtn_status" >Completed</span>
</div-->

<div id="add_qtn_div" class="add_qtn_div" >
<span class="new_qtn_title" >Add new question</span>
<span class="add_qtn_lebal" >Quote Name</span>
<input id="qout_name" class="add_qtn_input" />
<span class="add_qtn_lebal" >Question</span>
<textarea id="main_qtn" class="add_qtn_textarea" ></textarea>
<span class="add_qtn_lebal" >Answer 1</span>
<input id="ans1" class="add_qtn_input" />
<span class="add_qtn_lebal" >Answer 2</span>
<input id="ans2" class="add_qtn_input" />
<span class="add_qtn_lebal" >Answer 3</span>
<input id="ans3" class="add_qtn_input" />
<span class="add_qtn_lebal" >Answer 4</span>
<input id="ans4" class="add_qtn_input" />
<span class="add_qtn_lebal" >Correct answer</span>
<input id="corr_ans" class="add_qtn_input" />
<span id="quzi_output" ></span>
<button onClick="close_add_qtn();" class="add_btn" >Cancel</button>
<button onClick="add_new_qtn();" class="add_btn">Add</button>
</div>


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










<?php } ?>

<script> 
disp_corr_ans();
function disp_corr_ans()
{ 
	my_id = document.getElementById('my_id').value;
	xmlhpttp = new XMLHttpRequest();
	xmlhpttp.open("GET","auto_page.php?my_id="+my_id+"&&status=disp_corr_ans",false);
	xmlhpttp.send(null);
	document.getElementById('answered_quzi_output').innerHTML =xmlhpttp.responseText;



}

function show_add_qtn()
{
	document.getElementById("add_qtn_div").style.display="block";
}

function close_add_qtn()
{
	document.getElementById("add_qtn_div").style.display="none";
}

function add_new_qtn()
{
my_id = document.getElementById('my_id').value;
qout_name = document.getElementById('qout_name').value;	
main_qtn = document.getElementById('main_qtn').value;	
ans1 = document.getElementById('ans1').value;	
ans2 = document.getElementById('ans2').value;	
ans3 = document.getElementById('ans3').value;	
ans4 = document.getElementById('ans4').value;	
corr_ans = document.getElementById('corr_ans').value;

if(qout_name=="" || main_qtn=='' || ans1=="" || ans2=="" || ans3=="" || ans4=="" || corr_ans==""  ){ alert(1); }else{
	xmlhpttp = new XMLHttpRequest();
	xmlhpttp.open("GET","auto_page.php?my_id="+my_id+"&&qout_name="+qout_name+"&&main_qtn="+main_qtn+"&&ans1="+ans1+"&&ans2="+ans2+"&&ans3="+ans3+"&&ans4="+ans4+"&&corr_ans="+corr_ans+"&&status=add_new_qtn",false);
	xmlhpttp.send(null);
	document.getElementById('quzi_output').innerHTML =xmlhpttp.responseText;
document.getElementById('qout_name').value="";	
document.getElementById('main_qtn').value="";	
document.getElementById('ans1').value="";	
document.getElementById('ans2').value="";	
document.getElementById('ans3').value="";	
document.getElementById('ans4').value="";	
}
}


</script>


</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit