UnknownSec Bypass
403
:
/
var
/
www
/
santgyaneshwarji
/
cpanel
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
user_authentication.php
<?php require_once "../config.php"; session_start(); $username = $_POST['username']; $password= $_POST['password']; $role = $_POST['role']; $data="0"; $query = "select * from user where user_name= '".$username."' and user_password='".$password."' and user_role='".$role."'"; $result = mysqli_query($conn, $query); while($row = mysqli_fetch_array($result)) { $data="1"; $_SESSION['userid']=$row['user_id']; $_SESSION['username']=$row['user_name']; $_SESSION['userrole']=$row['user_role']; } echo json_encode($data); ?>
Copyright © 2025 - UnknownSec