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
/
evaluaciones
/
public
/
Viewing: index.php
<?php /** * EvalPro - Front Controller * Punto de entrada único del sistema */ if (!defined('BASE_PATH')) { define('BASE_PATH', dirname(__DIR__)); } // Autoload require_once BASE_PATH . '/app/Helpers/autoload.php'; // Cargar variables de entorno App\Helpers\Env::load(BASE_PATH . '/.env'); // Configurar zona horaria date_default_timezone_set('America/Managua'); // Manejo de errores global set_error_handler(function (int $errno, string $errstr, string $errfile, int $errline) { App\Helpers\Logger::error($errstr, ['file' => $errfile, 'line' => $errline]); if (env('APP_DEBUG', 'false') === 'true') { return false; // Mostrar error en modo debug } return true; // Silenciar en producción }); set_exception_handler(function (Throwable $e) { App\Helpers\Logger::error($e->getMessage(), [ 'file' => $e->getFile(), 'line' => $e->getLine(), 'trace' => $e->getTraceAsString(), ]); if (env('APP_DEBUG', 'false') === 'true') { // En modo debug, mostrar error detallado pero seguro http_response_code(500); echo '<div style="font-family:Inter,system-ui,sans-serif;max-width:700px;margin:40px auto;padding:30px;background:#fef2f2;border:1px solid #fecaca;border-radius:12px">'; echo '<h1 style="font-size:18px;color:#991b1b;margin-bottom:12px">⚠️ Error del sistema (modo debug)</h1>'; echo '<p style="color:#b91c1c;font-size:14px;margin-bottom:8px"><strong>' . htmlspecialchars($e->getMessage()) . '</strong></p>'; echo '<p style="color:#6b7280;font-size:12px">' . htmlspecialchars($e->getFile()) . ':' . $e->getLine() . '</p>'; echo '<pre style="margin-top:12px;padding:12px;background:#fff;border-radius:8px;font-size:11px;overflow-x:auto;color:#374151;border:1px solid #e5e7eb">' . htmlspecialchars($e->getTraceAsString()) . '</pre>'; echo '</div>'; exit; } http_response_code(500); echo '<div style="font-family:Inter,system-ui,sans-serif;max-width:500px;margin:80px auto;text-align:center;padding:40px">'; echo '<h1 style="font-size:24px;color:#1f2937;margin-bottom:8px">Error del sistema</h1>'; echo '<p style="color:#6b7280;font-size:14px">Ha ocurrido un error inesperado. Por favor intenta de nuevo.</p>'; echo '<p style="margin-top:16px"><a href="javascript:location.reload()" style="color:#4f46e5;font-size:13px;text-decoration:underline">Recargar página</a></p>'; echo '</div>'; exit; }); // Auto-detectar URL base $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https' : 'http'; $host = $_SERVER['HTTP_HOST'] ?? 'localhost'; $scriptDir = urldecode(rtrim(dirname($_SERVER['SCRIPT_NAME'] ?? ''), '/\\')); $projectBase = $scriptDir; if (str_ends_with($projectBase, '/public')) { $projectBase = substr($projectBase, 0, -7); } if (!defined('AUTO_BASE_URL')) { $encodedBase = implode('/', array_map('rawurlencode', explode('/', $projectBase))); define('AUTO_BASE_URL', $scheme . '://' . $host . $encodedBase); } if (!defined('PROJECT_BASE_PATH')) { define('PROJECT_BASE_PATH', $projectBase); } // Sesión segura if (session_status() === PHP_SESSION_NONE) { ini_set('session.cookie_httponly', '1'); ini_set('session.use_strict_mode', '1'); session_start(); } // Prevenir caché del navegador en páginas dinámicas header('Cache-Control: no-store, no-cache, must-revalidate, max-age=0'); header('Cache-Control: post-check=0, pre-check=0', false); header('Pragma: no-cache'); header('Expires: Thu, 01 Jan 1970 00:00:00 GMT'); header('X-Content-Type-Options: nosniff'); header('X-Frame-Options: SAMEORIGIN'); header('Vary: Accept, Cookie'); // Helpers globales require_once BASE_PATH . '/app/Helpers/functions.php'; // Servir archivos de storage $requestPath = urldecode(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)); if (preg_match('#/storage/uploads/(.+)$#', $requestPath, $storageMatch)) { $relativePath = $storageMatch[1]; $fullPath = BASE_PATH . '/storage/uploads/' . $relativePath; if (file_exists($fullPath) && is_file($fullPath)) { $mime = mime_content_type($fullPath); header('Content-Type: ' . $mime); header('Cache-Control: public, max-age=604800'); readfile($fullPath); exit; } } // Despachar $router = new App\Router(); require_once BASE_PATH . '/routes/web.php'; $router->dispatch($_SERVER['REQUEST_METHOD'], $_SERVER['REQUEST_URI']);
Coded With 💗 by
0x6ick