UnknownSec Bypass
403
:
/
var
/
www
/
zenithentcare
/
cpanel
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
update_password.php
<?php require_once "../config.php"; session_start(); $username = mysqli_real_escape_string($conn,$_POST['username']); $oldpassword= mysqli_real_escape_string($conn,$_POST['oldpassword']); $newpassword= mysqli_real_escape_string($conn,$_POST['newpassword']); $modificationdatetime=date("Y-m-d H:m:s"); $message= "0"; // $hash_psw = password_hash($psw, // PASSWORD_DEFAULT); $query="Update userdetailstb set userpassword='".$newpassword."', modificationdatetime='".$modificationdatetime."' where username='".$username."' and permissiontype='".$_SESSION['userrole']."'"; $result = mysqli_query($conn, $query); if($result==true) { $message="1"; } echo json_encode($message); ?>
Copyright © 2025 - UnknownSec