!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/   drwxr-xr-x
Free 13.07 GB of 57.97 GB (22.55%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     prefs_forms.php (2.43 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * User preferences page
 *
 * @package PhpMyAdmin
 */
use PhpMyAdmin\Config\ConfigFile;
use 
PhpMyAdmin\Config\Forms\User\UserFormList;
use 
PhpMyAdmin\Core;
use 
PhpMyAdmin\Response;
use 
PhpMyAdmin\Url;
use 
PhpMyAdmin\UserPreferences;

/**
 * Gets some core libraries and displays a top message if required
 */
require_once 'libraries/common.inc.php';

$userPreferences = new UserPreferences();

$cf = new ConfigFile($GLOBALS['PMA_Config']->base_settings);
$userPreferences->pageInit($cf);

// handle form processing

$form_param = isset($_GET['form']) ? $_GET['form'] : null;
$form_class UserFormList::get($form_param);
if (
is_null($form_class)) {
    
Core::fatalError(__('Incorrect form specified!'));
}

$form_display = new $form_class($cf1);

if (isset(
$_POST['revert'])) {
    
// revert erroneous fields to their default values
    
$form_display->fixErrors();
    
// redirect
    
$url_params = array('form' => $form_param);
    
Core::sendHeaderLocation(
        
'./prefs_forms.php'
        
Url::getCommonRaw($url_params)
    );
    exit;
}

$error null;
if (
$form_display->process(false) && !$form_display->hasErrors()) {
    
// save settings
    
$result $userPreferences->save($cf->getConfigArray());
    if (
$result === true) {
        
// reload config
        
$GLOBALS['PMA_Config']->loadUserPreferences();
        
$tabHash = isset($_POST['tab_hash']) ? $_POST['tab_hash'] : null;
        
$hash ltrim($tabHash'#');
        
$userPreferences->redirect(
            
'prefs_forms.php',
            array(
'form' => $form_param),
            
$hash
        
);
        exit;
    } else {
        
$error $result;
    }
}

// display forms
$response Response::getInstance();
$header   $response->getHeader();
$scripts  $header->getScripts();
$scripts->addFile('config.js');

require 
'libraries/user_preferences.inc.php';
if (
$error) {
    
$error->display();
}
if (
$form_display->hasErrors()) {
    
// form has errors
    
?>
    <div class="error config-form">
        <b>
            <?php echo __('Cannot save settings, submitted form contains errors!'?>
        </b>
        <?php echo $form_display->displayErrors(); ?>
    </div>
    <?php
}
echo 
$form_display->getDisplay(truetruetrue'prefs_forms.php?form=' $form_param, array(
    
'server' => $GLOBALS['server']
));

if (
$response->isAjax()) {
    
$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.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0509 ]--