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

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/xampp/htdocs-coblaa/BM_game/bm_marketk.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
*/

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

<input id="my_id" value="<?php echo $user_id ?>" style="display:none;" />
<input type="text" id="country_user" class="helping_id" style="display:none;" value="<?php echo $country;?>"> 
<input type="text" id="region_user" class="helping_id" style="display:none;" value="<?php echo $region;?>">
<input type="text" id="city_user" class="helping_id" style="display:none;" value="<?php echo $city;?>">
<input type="text" id="ip_user" class="helping_id" style="display:none;" value="<?php echo $user_ip;?>">

</div>

<head>

<title>Buisness Mind Game</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/bm_market.css?v3" />

</head>

<body id="body">
<div class="main_home_div" >
<img src="main_icon/back_btn.png" Onclick="history.back();" class="back_btn" />
<span class="main_home_title">Market place</span>
<span class="main_home_amt" style='margin-top:10px;color:#167cef;font-weight:bold;font-size:1em;'>Today Pts</span>
<span class="main_home_amt" style='color:505252;font-size:0.9em;font-weight:bold;' >CB:<span id="point_transaction_output"></span></span>
</div>


<div id="disp_user_products_output" ></div>
<div id="shell_edt_price" class="shell_edt_price" >
<div class="sub_shell_edt_price" >
<span class="price_edit_title" >Enter New Price</span>
<input id="price_edit_input" class="price_edit_input" placeholder="0" />
<button onClick="update_product_price();" class="price_edit_btn" >Ok</button>
<input id="product_to_edtid" class="help_input" />
</div>
</div>






<script>

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

}

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

}

function show_more_option_area(smoa)
{ 
	more_option_div ='more_option_div'+smoa;
	document.getElementById(more_option_div).style="display:block;";
	

}
function close_more_option_area(cmoa)
{
	more_option_div ='more_option_div'+cmoa;
	document.getElementById(more_option_div).style="display:none;";
}

function show_price_edit_area(spea)
{
	more_option_div ='more_option_div'+spea;
document.getElementById('shell_edt_price').style="display:flex;justify-content:center;align-items:center;";	
document.getElementById(more_option_div).style="background:green;display:block;";
document.getElementById('product_to_edtid').value=spea;

}
function update_product_price()
{
document.getElementById('shell_edt_price').style="display:none;";	
document.getElementById(more_option_div).style="background:#ccc;";	

	my_id = document.getElementById('my_id').value;
	refno_id = document.getElementById('product_to_edtid').value;
	price_edit_input = document.getElementById('price_edit_input').value;
	if(price_edit_input=="" || price_edit_input=="0" || price_edit_input >100){}else{
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&refno_id="+refno_id+"&&price_edit_input="+price_edit_input+"&&status=update_product_price",false);
	xmlhttp.send(null);
	disp_user_products();
	//document.getElementById('disp_user_products_output').innerHTML=xmlhttp.responseText;
	}
}
function delete_user_main_product(dump)
{
	my_id = document.getElementById('my_id').value;
	refno_id = dump;

	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&refno_id="+refno_id+"&&status=delete_user_main_product",false);
	xmlhttp.send(null);
	disp_user_products();
}

</script>

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

Youez - 2016 - github.com/yon3zu
LinuXploit