UnknownSec Bypass
403
:
/
var
/
www
/
html
/
clientpnl
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
change_password.php
<?php include "top.php";?> <script type="text/javascript"> function editpassword() { var flag = true; var inputField1 =document.getElementById("txtOldPassword"); if (inputField1.value == "") { flag = false; alert("Please enter old password."); document.getElementById("txtOldPassword").focus(); return false; } var inputField2 =document.getElementById("txtNewPassword"); if (inputField2.value == "") { flag = false; alert("Please enter new password."); document.getElementById("txtNewPassword").focus(); return false; } let text = "Do you want update password"; if (confirm(text) == true) { var newpassword= document.getElementById("txtNewPassword").value; var oldpassword= document.getElementById("txtOldPassword").value; $.ajax({ method: 'POST', url: 'edit_password.php', data: '&newpassword=' + newpassword+'&oldpassword='+oldpassword, dataType:"JSON", success:function(data) { if(data==1) { alert("Password update successfully."); window.location.href="book_slot.php"; document.getElementById("txtNewPassword").value=""; document.getElementById("txtOldPassword").value=""; } else if(data==2) { alert("Old password is not correct."); document.getElementById("txtNewPassword").value=""; document.getElementById("txtOldPassword").value=""; } else { alert("There is problem to update password"); } } }); } else { text = "You canceled!"; } } </script> <!-- /contact-form --> <section class="w3l-contact-main"> <div class="contact-infhny py-5"> <div class="container py-lg-3"> <div class="row align-form-map"> <div class="col-lg-10 title-content text-left mb-lg-4 mb-4"> <h4 class="hny-title mb-3">Welcome, <span><?php echo $_SESSION['username']; ?> !</span> Change Password.</h4> </div> <div class="col-lg-12 form-inner-cont"> <label for="w3lSender">Old Password. </label> <input type="password" name="w3lSender" id="txtOldPassword" placeholder="Enter your old password." required="" /> <br><br> <label for="w3lSender">New Password. </label> <input type="password" name="w3lSender" id="txtNewPassword" placeholder="Enter your new password." required="" /> <br><br> <button type="submit" style="width: 100%" name="send" id="btnlogin" onclick="editpassword();" class="btn btn-contact">Change Password</button> </div> </br> </div> </div> </div> </section> <?php include "footer.php";?>
Copyright © 2025 - UnknownSec