One Hat Cyber Team
Your IP :
216.73.217.126
Server IP :
185.33.55.30
Server :
Linux cl30.webspacecontrol.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.1.34
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
cxs2
/
app
/
libs
/
Discover
/
CMS
/
View File Name :
PhpMyAdmin.php
<?php /** * PhpMyAdmin * * @copyright Copyright (c) 2007 DotRoll Kft. (http://www.dotroll.com) * @author Zoltán Istvanovszki <zoltan.istvanovszki@dotroll.com> * @since 2019-06-26 * @package CXS_2.0 */ namespace Discover\CMS; class PhpMyAdmin extends CommonComponent { /** * Init */ public function onConstruct() { $this->type = \substr(__CLASS__, \strrpos(__CLASS__, '\\') + 1); } /** * Look for any intallations * * @param string $hash cPanel username * @param string $brace Used brace from depth checking * @return array */ public function get(string $hash, string $brace): array { $this->hash = $hash; $this->printPercentage(); $phpMyAdmin = []; $found = \array_merge( \glob("/home/$hash/$brace/libraries/classes/Config.php", \GLOB_BRACE), \glob("/home/$hash/$brace/libraries/Config.php", \GLOB_BRACE), \glob("/home/$hash/$brace/libraries/Config.class.php", \GLOB_BRACE) ); $GLOBALS['maxInstance'] = \count($found); $GLOBALS['iInstance'] = 0; foreach ($found as $file) { $GLOBALS['iInstance']++; if (\strpos($file, "/home/$hash/www/") === 0) { continue; } if (\substr($file, -27) == '/libraries/Config.class.php') { $dir = \substr($file, 0, -27); } elseif (\substr($file, -29) == '/libraries/classes/Config.php') { $dir = \substr($file, 0, -29); } else { $dir = \substr($file, 0, -21); } if ( \is_file("$dir/transformation_overview.php") && $version = \exec(\PHP_BINARY . ' -c ' . \APP_PATH . 'config/php.ini ' . \APP_PATH . "libs/Discover/CMS/version/{$this->type}.php $file") ) { $this->printStr("[PhpMyAdmin]"); $phpMyAdmin[$dir] = [ 'type' => $this->type, 'dir' => $dir, 'version' => $version, 'plugins' => [], ]; } } $this->cleanLine(); return $phpMyAdmin; } }