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


Viewing file:     MonitorController.php (5.79 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

namespace 
PhpMyAdmin\Controllers\Server\Status;

use 
PhpMyAdmin\DatabaseInterface;
use 
PhpMyAdmin\Response;
use 
PhpMyAdmin\Server\Status\Data;
use 
PhpMyAdmin\Server\Status\Monitor;
use 
PhpMyAdmin\Server\SysInfo\SysInfo;
use 
PhpMyAdmin\Template;
use 
PhpMyAdmin\Url;
use function 
is_numeric;
use function 
microtime;

class 
MonitorController extends AbstractController
{
    
/** @var Monitor */
    
private $monitor;

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

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

    public function 
index(): void
    
{
        global 
$PMA_Theme$err_url;

        
$err_url Url::getFromRoute('/');

        if (
$this->dbi->isSuperUser()) {
            
$this->dbi->selectDb('mysql');
        }

        
$this->addScriptFiles([
            
'vendor/jquery/jquery.tablesorter.js',
            
'jquery.sortable-table.js',
            
'vendor/jqplot/jquery.jqplot.js',
            
'vendor/jqplot/plugins/jqplot.pieRenderer.js',
            
'vendor/jqplot/plugins/jqplot.enhancedPieLegendRenderer.js',
            
'vendor/jqplot/plugins/jqplot.canvasTextRenderer.js',
            
'vendor/jqplot/plugins/jqplot.canvasAxisLabelRenderer.js',
            
'vendor/jqplot/plugins/jqplot.dateAxisRenderer.js',
            
'vendor/jqplot/plugins/jqplot.highlighter.js',
            
'vendor/jqplot/plugins/jqplot.cursor.js',
            
'jqplot/plugins/jqplot.byteFormatter.js',
            
'server/status/monitor.js',
            
'server/status/sorter.js',
        ]);

        
$form = [
            
'server_time' => (int) (microtime(true) * 1000),
            
'server_os' => SysInfo::getOs(),
            
'is_superuser' => $this->dbi->isSuperUser(),
            
'server_db_isLocal' => $this->data->dbIsLocal,
        ];

        
$javascriptVariableNames = [];
        foreach (
$this->data->status as $name => $value) {
            if (! 
is_numeric($value)) {
                continue;
            }

            
$javascriptVariableNames[] = $name;
        }

        
$this->render('server/status/monitor/index', [
            
'image_path' => $PMA_Theme->getImgPath(),
            
'javascript_variable_names' => $javascriptVariableNames,
            
'form' => $form,
        ]);
    }

    public function 
chartingData(): void
    
{
        global 
$err_url;

        
$params = ['requiredData' => $_POST['requiredData'] ?? null];
        
$err_url Url::getFromRoute('/');

        if (
$this->dbi->isSuperUser()) {
            
$this->dbi->selectDb('mysql');
        }

        if (! 
$this->response->isAjax()) {
            return;
        }

        
$this->response->addJSON([
            
'message' => $this->monitor->getJsonForChartingData(
                
$params['requiredData'] ?? ''
            
),
        ]);
    }

    public function 
logDataTypeSlow(): void
    
{
        global 
$err_url;

        
$params = [
            
'time_start' => $_POST['time_start'] ?? null,
            
'time_end' => $_POST['time_end'] ?? null,
        ];
        
$err_url Url::getFromRoute('/');

        if (
$this->dbi->isSuperUser()) {
            
$this->dbi->selectDb('mysql');
        }

        if (! 
$this->response->isAjax()) {
            return;
        }

        
$this->response->addJSON([
            
'message' => $this->monitor->getJsonForLogDataTypeSlow(
                (int) 
$params['time_start'],
                (int) 
$params['time_end']
            ),
        ]);
    }

    public function 
logDataTypeGeneral(): void
    
{
        global 
$err_url;

        
$params = [
            
'time_start' => $_POST['time_start'] ?? null,
            
'time_end' => $_POST['time_end'] ?? null,
            
'limitTypes' => $_POST['limitTypes'] ?? null,
            
'removeVariables' => $_POST['removeVariables'] ?? null,
        ];
        
$err_url Url::getFromRoute('/');

        if (
$this->dbi->isSuperUser()) {
            
$this->dbi->selectDb('mysql');
        }

        if (! 
$this->response->isAjax()) {
            return;
        }

        
$this->response->addJSON([
            
'message' => $this->monitor->getJsonForLogDataTypeGeneral(
                (int) 
$params['time_start'],
                (int) 
$params['time_end'],
                (bool) 
$params['limitTypes'],
                (bool) 
$params['removeVariables']
            ),
        ]);
    }

    public function 
loggingVars(): void
    
{
        global 
$err_url;

        
$params = [
            
'varName' => $_POST['varName'] ?? null,
            
'varValue' => $_POST['varValue'] ?? null,
        ];
        
$err_url Url::getFromRoute('/');

        if (
$this->dbi->isSuperUser()) {
            
$this->dbi->selectDb('mysql');
        }

        if (! 
$this->response->isAjax()) {
            return;
        }

        
$this->response->addJSON([
            
'message' => $this->monitor->getJsonForLoggingVars(
                
$params['varName'],
                
$params['varValue']
            ),
        ]);
    }

    public function 
queryAnalyzer(): void
    
{
        global 
$err_url;

        
$params = [
            
'database' => $_POST['database'] ?? null,
            
'query' => $_POST['query'] ?? null,
        ];
        
$err_url Url::getFromRoute('/');

        if (
$this->dbi->isSuperUser()) {
            
$this->dbi->selectDb('mysql');
        }

        if (! 
$this->response->isAjax()) {
            return;
        }

        
$this->response->addJSON([
            
'message' => $this->monitor->getJsonForQueryAnalyzer(
                
$params['database'] ?? '',
                
$params['query'] ?? ''
            
),
        ]);
    }
}

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