Tn Jones Shell Bypass
:
18.191.103.29
:
160.187.54.56 / upgov.net
:
Linux 160-187-54-56.cprapid.com 4.18.0-553.22.1.lve.1.el7h.x86_64 #1 SMP Tue Oct 8 14:36:03 UTC 2024 x86_64
:
/
home
/
upgov
/
public_html
/
gnvs
/
Upload File:
files >> /home/upgov/public_html/gnvs/dbcontroller.php
<?php class DBController { private $host = "localhost"; private $user = "vidhansabha"; private $password = "vidhansabha@123"; private $database = "vidhansabha"; function __construct() { $conn = $this->connectDB(); if(!empty($conn)) { $this->selectDB($conn); } } function connectDB() { $conn = mysql_connect($this->host,$this->user,$this->password); return $conn; } function selectDB($conn) { mysql_select_db($this->database,$conn); } function runQuery($query) { $result = mysql_query($query); while($row=mysql_fetch_assoc($result)) { $resultset[] = $row; } if(!empty($resultset)) return $resultset; } function numRows($query) { $result = mysql_query($query); $rowcount = mysql_num_rows($result); return $rowcount; } } ?>