!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:     server_user_groups.php (1.83 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Displays the 'User groups' sub page under 'Users' page.
 *
 * @package PhpMyAdmin
 */
use PhpMyAdmin\Relation;
use 
PhpMyAdmin\Response;
use 
PhpMyAdmin\Server\UserGroups;
use 
PhpMyAdmin\Server\Users;

require_once 
'libraries/common.inc.php';

$relation = new Relation();
$cfgRelation $relation->getRelationsParam();
if (! 
$cfgRelation['menuswork']) {
    exit;
}

$response Response::getInstance();
$header   $response->getHeader();
$scripts  $header->getScripts();
$scripts->addFile('server_user_groups.js');

/**
 * Only allowed to superuser
 */
if (! $GLOBALS['dbi']->isSuperuser()) {
    
$response->addHTML(
        
PhpMyAdmin\Message::error(__('No Privileges'))
            ->
getDisplay()
    );
    exit;
}

$response->addHTML('<div>');
$response->addHTML(Users::getHtmlForSubMenusOnUsersPage('server_user_groups.php'));

/**
 * Delete user group
 */
if (! empty($_POST['deleteUserGroup'])) {
    
UserGroups::delete($_POST['userGroup']);
}

/**
 * Add a new user group
 */
if (! empty($_POST['addUserGroupSubmit'])) {
    
UserGroups::edit($_POST['userGroup'], true);
}

/**
 * Update a user group
 */
if (! empty($_POST['editUserGroupSubmit'])) {
    
UserGroups::edit($_POST['userGroup']);
}

if (isset(
$_POST['viewUsers'])) {
    
// Display users belonging to a user group
    
$response->addHTML(UserGroups::getHtmlForListingUsersofAGroup($_POST['userGroup']));
}

if (isset(
$_GET['addUserGroup'])) {
    
// Display add user group dialog
    
$response->addHTML(UserGroups::getHtmlToEditUserGroup());
} elseif (isset(
$_POST['editUserGroup'])) {
    
// Display edit user group dialog
    
$response->addHTML(UserGroups::getHtmlToEditUserGroup($_POST['userGroup']));
} else {
    
// Display user groups table
    
$response->addHTML(UserGroups::getHtmlForUserGroupsTable());
}

$response->addHTML('</div>');

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