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:/active_xampp_upgrade/cranepayk/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : D:/active_xampp_upgrade/cranepayk/change_pin.php
<html>
<?php
include('db.php');
session_start();
if(isset($_SESSION['id']))
{
$my_id = $_SESSION['id'];		

}

?>

<head>
<title>CrinePay</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="main_css/change_pin.css" />

</head>

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



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

<?php }else{ ?>

<div class="main_content_div" >

<div class="home_div" >
<img onclick="history.back()" src="main_icon/bk.png" class="back_btn_img" />
<span class="send_m_title">Change password</span>
<!--img src="main_icon/sm2.png" class="back_btn_img" /-->
</div>


<div class="send_money_div">

<div id="send_tip_lebal" class="send_tip_lebal"></div>
<span class="send_input_lebal">Old password</span>
<input id="oldPass" class="send_input1" minlength="4"type="password" />

<span class="send_input_lebal">New password</span>
<input id="newPass" class="send_input1" minlength="4" type="password" />

<span class="send_input_lebal">Confirm password</span>
<input id="firmPass" class="send_input1" minlength="4" type="password" />

<div id="report_output" class="report_output" ></div>
 <button id="send_btn" onclick="Change_pin_save();" class="send_btn">Save</button>

</div>



</div>


<script>

function Change_pin_save()
{
	my_id = document.getElementById('my_id').value;
	oldPass = document.getElementById('oldPass').value;
	newPass = document.getElementById('newPass').value;
	firmPass = document.getElementById('firmPass').value;
	
	if(oldPass=="" || newPass=="" || newPass.length <4 || firmPass==""  ){
		document.getElementById('report_output').innerHTML="Please fill all the fields";
		document.getElementById('report_output').style="display:block";
		}else if(newPass !== firmPass){
       document.getElementById('report_output').innerHTML="Password do not match";
	   document.getElementById('report_output').style="display:block";

}else{
			
	xmlhttp = new XMLHttpRequest();
	xmlhttp.open("GET","autopage.php?my_id="+my_id+"&&newPass="+newPass+"&&oldPass="+oldPass+"&&status=Change_pass",false);
	xmlhttp.send(null);
	document.getElementById('report_output').innerHTML =xmlhttp.responseText;
	
	document.getElementById('oldPass').value="";
	document.getElementById('newPass').value="";
	document.getElementById('firmPass').value="";

}
}

</script>


<?php } ?>


</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit