UnknownSec Bypass
403
:
/
var
/
www
/
html
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
admin_authentification.php
<?php require_once "config.php"; session_start(); $usertype = $_POST['usertype']; $username = $_POST['username']; $canteenname = $_POST['canteenname']; $password = $_POST['psw']; $sanitized_usertype = mysqli_real_escape_string($conn, $usertype); $sanitized_username = mysqli_real_escape_string($conn, $username); $sanitized_canteenname = mysqli_real_escape_string($conn, $canteenname); $sanitized_password = mysqli_real_escape_string($conn, $password); $data="0"; $query = "select * from userdetailstb where usertype= '".$sanitized_usertype."' and username='".$sanitized_username."' and canteenname='".$sanitized_canteenname."' and psw='".$sanitized_password."'"; $result = mysqli_query($conn, $query); while($row = mysqli_fetch_array($result)) { $data="1"; $_SESSION['admincanteenname']= $row["CanteenName"]; $_SESSION['adminusername']= $row["UserName"]; $_SESSION['adminuserid']= $row["UserID"]; } echo json_encode($data); ?>
Copyright © 2025 - UnknownSec