!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/Preferences/   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:     MainPanelController.php (3.34 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

namespace 
PhpMyAdmin\Controllers\Preferences;

use 
PhpMyAdmin\Config\ConfigFile;
use 
PhpMyAdmin\Config\Forms\User\MainForm;
use 
PhpMyAdmin\Controllers\AbstractController;
use 
PhpMyAdmin\Core;
use 
PhpMyAdmin\Relation;
use 
PhpMyAdmin\Response;
use 
PhpMyAdmin\Template;
use 
PhpMyAdmin\TwoFactor;
use 
PhpMyAdmin\Url;
use 
PhpMyAdmin\UserPreferences;
use function 
define;
use function 
ltrim;

class 
MainPanelController extends AbstractController
{
    
/** @var UserPreferences */
    
private $userPreferences;

    
/** @var Relation */
    
private $relation;

    
/**
     * @param Response $response
     */
    
public function __construct(
        
$response,
        
Template $template,
        
UserPreferences $userPreferences,
        
Relation $relation
    
) {
        
parent::__construct($response$template);
        
$this->userPreferences $userPreferences;
        
$this->relation $relation;
    }

    public function 
index(): void
    
{
        global 
$cfg$cf$error$tabHash$hash;
        global 
$server$PMA_Config$route;

        
$cf = new ConfigFile($PMA_Config->baseSettings);
        
$this->userPreferences->pageInit($cf);

        
$formDisplay = new MainForm($cf1);

        if (isset(
$_POST['revert'])) {
            
// revert erroneous fields to their default values
            
$formDisplay->fixErrors();
            
Core::sendHeaderLocation('./index.php?route=/preferences/main-panel');

            return;
        }

        
$error null;
        if (
$formDisplay->process(false) && ! $formDisplay->hasErrors()) {
            
// Load 2FA settings
            
$twoFactor = new TwoFactor($cfg['Server']['user']);
            
// save settings
            
$result $this->userPreferences->save($cf->getConfigArray());
            
// save back the 2FA setting only
            
$twoFactor->save();
            if (
$result === true) {
                
// reload config
                
$PMA_Config->loadUserPreferences();
                
$tabHash $_POST['tab_hash'] ?? null;
                
$hash ltrim($tabHash'#');
                
$this->userPreferences->redirect(
                    
'index.php?route=/preferences/main-panel',
                    
null,
                    
$hash
                
);

                return;
            }

            
$error $result;
        }

        
$this->addScriptFiles(['config.js']);

        
$cfgRelation $this->relation->getRelationsParam();

        
$this->render('preferences/header', [
            
'route' => $route,
            
'is_saved' => ! empty($_GET['saved']),
            
'has_config_storage' => $cfgRelation['userconfigwork'],
        ]);

        if (
$formDisplay->hasErrors()) {
            
$formErrors $formDisplay->displayErrors();
        }

        
$this->render('preferences/forms/main', [
            
'error' => $error $error->getDisplay() : '',
            
'has_errors' => $formDisplay->hasErrors(),
            
'errors' => $formErrors ?? null,
            
'form' => $formDisplay->getDisplay(
                
true,
                
true,
                
true,
                
Url::getFromRoute('/preferences/main-panel'),
                [
'server' => $server]
            ),
        ]);

        if (
$this->response->isAjax()) {
            
$this->response->addJSON('disableNaviSettings'true);
        } else {
            
define('PMA_DISABLE_NAVI_SETTINGS'true);
        }
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

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