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

declare(strict_types=1);

namespace 
PhpMyAdmin\Controllers\Server;

use 
PhpMyAdmin\Controllers\AbstractController;
use 
PhpMyAdmin\DatabaseInterface;
use 
PhpMyAdmin\Message;
use 
PhpMyAdmin\Relation;
use 
PhpMyAdmin\Response;
use 
PhpMyAdmin\Server\UserGroups;
use 
PhpMyAdmin\Template;

/**
 * Displays the 'User groups' sub page under 'Users' page.
 */
class UserGroupsController extends AbstractController
{
    
/** @var Relation */
    
private $relation;

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

    
/**
     * @param Response          $response
     * @param DatabaseInterface $dbi
     */
    
public function __construct($responseTemplate $templateRelation $relation$dbi)
    {
        
parent::__construct($response$template);
        
$this->relation $relation;
        
$this->dbi $dbi;
    }

    public function 
index(): void
    
{
        
$cfgRelation $this->relation->getRelationsParam();
        if (! 
$cfgRelation['menuswork']) {
            return;
        }

        
$this->addScriptFiles(['server/user_groups.js']);

        
/**
         * Only allowed to superuser
         */
        
if (! $this->dbi->isSuperUser()) {
            
$this->response->addHTML(
                
Message::error(__('No Privileges'))->getDisplay()
            );

            return;
        }

        
$this->response->addHTML('<div class="container-fluid">');
        
$this->render('server/privileges/subnav', [
            
'active' => 'user-groups',
            
'is_super_user' => $this->dbi->isSuperUser(),
        ]);

        
/**
         * 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
            
$this->response->addHTML(UserGroups::getHtmlForListingUsersofAGroup($_POST['userGroup']));
        }

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

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

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