⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
sitepad
/
lib
/
panels
/
webuzo
/
View File Name :
index.php
<?php @define('SITEPAD', 1); $admin_ports = array('2004', '2005'); $enduser_ports = array('2002', '2003'); // Check for custom Webuzo ports $aports_file = '/usr/local/webuzo/conf/webuzo/emps/admin_port.conf'; $eports_file = '/usr/local/webuzo/conf/webuzo/emps/enduser_port.conf'; if(file_exists($aports_file)){ $aports = file_get_contents($aports_file); preg_match_all('/listen(.*?)\;/is', $aports, $matches); if(!empty($matches[1])){ foreach($matches[1] as $k => $v){ $admin_ports[] = trim(str_replace(' ssl', '', $v)); } } } if(file_exists($eports_file)){ $eports = file_get_contents($eports_file); preg_match_all('/listen(.*?)\;/is', $eports, $matches); if(!empty($matches[1])){ foreach($matches[1] as $k => $v){ $enduser_ports[] = trim(str_replace(' ssl', '', $v)); } } } // Admin Panel if(in_array($_SERVER['SERVER_PORT'], $admin_ports)){ include_once(dirname(dirname(__FILE__)).'/admin.php'); // Enduser }elseif(in_array($_SERVER['SERVER_PORT'], $enduser_ports)){ @define('SITEMUSHUSER', 1); header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past if(isset($_GET['act']) && $_GET['act'] == 'backups' && !empty($_GET['download']) && substr_count($_GET['download'], './') == 0){ header('Content-Disposition: attachment; filename="'.$_GET['download'].'"'); } include_once(dirname(dirname(__FILE__)).'/enduser.php'); }