One Hat Cyber Team
Your IP :
216.73.216.14
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
vhost
/
imath.kiev.ua
/
View File Name :
mysql.php
<? function dump($ob) { echo("<pre>"); print_r($ob); echo("</pre>"); } ///Library for SQL class database { var $host="localhost", $user="imath_site", $pass="imathimath", $base="imath_site"; function database() { $this->connect(); $this->selectDb(); } function connect() { //mysql_connect($this->host,$this->user,$this->pass) or exit(mysql_error()); mysql_pconnect($this->host,$this->user,$this->pass) or exit(mysql_error()); } function selectDb() { mysql_select_db($this->base) or exit(mysql_error()); mysql_query("SET NAMES cp1251"); } function query($sql) { // dump($sql); // $res=mysql_query($sql) or exit(mysql_error()); $res=mysql_query($sql); return $res; } function close() { mysql_close(); } function does($sql,$func,$extra="") { $res=$this->query($sql); $count=mysql_num_rows($res); while ($ob = mysql_fetch_object($res)) { $ob->extra=$extra; $ob->numRows=$count; $func($ob); } } function object($sql) { return mysql_fetch_object($this->query($sql)); } function assoc($sql) { return mysql_fetch_assoc($this->query($sql)); } function rows() { return mysql_affected_rows(); } }