!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/phpmyadmin/libraries/classes/Controllers/Server/   drwxr-xr-x
Free 13.04 GB of 57.97 GB (22.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ServerEnginesController.php (2.67 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */

/**
 * Holds the PhpMyAdmin\Controllers\Server\ServerEnginesController
 *
 * @package PhpMyAdmin\Controllers
 */

namespace PhpMyAdmin\Controllers\Server;

use 
PhpMyAdmin\Controllers\Controller;
use 
PhpMyAdmin\Server\Common;
use 
PhpMyAdmin\StorageEngine;
use 
PhpMyAdmin\Template;
use 
PhpMyAdmin\Util;

/**
 * Handles viewing storage engine details
 *
 * @package PhpMyAdmin\Controllers
 */
class ServerEnginesController extends Controller
{
    
/**
     * Index action
     *
     * @return void
     */
    
public function indexAction()
    {
        
/**
         * Does the common work
         */
        
require 'libraries/server_common.inc.php';

        
/**
         * Displays the sub-page heading
         */
        
$this->response->addHTML(
            
Template::get('server/sub_page_header')->render([
                
'type' => 'engines',
            ])
        );

        
/**
         * Did the user request information about a certain storage engine?
         */
        
if (empty($_REQUEST['engine'])
            || ! 
StorageEngine::isValid($_REQUEST['engine'])
        ) {
            
$this->response->addHTML($this->_getHtmlForAllServerEngines());
        } else {
            
$engine StorageEngine::getEngine($_REQUEST['engine']);
            
$this->response->addHTML($this->_getHtmlForServerEngine($engine));
        }
    }

    
/**
     * Return HTML with all Storage Engine information
     *
     * @return string
     */
    
private function _getHtmlForAllServerEngines()
    {
        return 
Template::get('server/engines/engines')->render(
            array(
'engines' => StorageEngine::getStorageEngines())
        );
    }

    
/**
     * Return HTML for a given Storage Engine
     *
     * @param StorageEngine $engine storage engine
     *
     * @return string
     */
    
private function _getHtmlForServerEngine(StorageEngine $engine)
    {
        
$page = isset($_REQUEST['page']) ? $_REQUEST['page'] : '';
        
$pageOutput = ! empty($page) ? $engine->getPage($page) : '';

        
/**
         * Displays details about a given Storage Engine
         */
        
return Template::get('server/engines/engine')->render(
            array(
                
'title' => $engine->getTitle(),
                
'help_page' => $engine->getMysqlHelpPage(),
                
'comment' => $engine->getComment(),
                
'info_pages' => $engine->getInfoPages(),
                
'support' => $engine->getSupportInformationMessage(),
                
'variables' => $engine->getHtmlVariables(),
                
'page_output' => $pageOutput,
                
'page' => $page,
                
'engine' => $_REQUEST['engine'],
            )
        );
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0051 ]--