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

namespace Webkul\Core\Providers;

use 
Illuminate\Foundation\AliasLoader;
use 
Illuminate\Support\ServiceProvider;
use 
Webkul\Core\Acl;
use 
Webkul\Core\Console\Commands\Version;
use 
Webkul\Core\Core;
use 
Webkul\Core\Facades\Acl as AclFacade;
use 
Webkul\Core\Facades\Core as CoreFacade;
use 
Webkul\Core\Facades\Menu as MenuFacade;
use 
Webkul\Core\Facades\SystemConfig as SystemConfigFacade;
use 
Webkul\Core\Menu;
use 
Webkul\Core\SystemConfig;

class 
CoreServiceProvider extends ServiceProvider
{
    
/**
     * Bootstrap services.
     *
     * @return void
     *
     * @throws \Illuminate\Contracts\Container\BindingResolutionException
     */
    
public function boot()
    {
        include 
__DIR__.'/../Http/helpers.php';

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

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

        
$this->publishes([
            
dirname(__DIR__).'/Config/concord.php' => config_path('concord.php'),
            
dirname(__DIR__).'/Config/cors.php'    => config_path('cors.php'),
            
dirname(__DIR__).'/Config/sanctum.php' => config_path('sanctum.php'),
        ]);
    }

    
/**
     * Register services.
     *
     * @return void
     */
    
public function register()
    {
        
$this->registerCommands();

        
$this->registerFacades();
    }

    
/**
     * Register Bouncer as a singleton.
     *
     * @return void
     */
    
protected function registerFacades()
    {
        
$loader AliasLoader::getInstance();

        
$loader->alias('acl'AclFacade::class);

        
$loader->alias('core'CoreFacade::class);

        
$loader->alias('system_config'SystemConfigFacade::class);

        
$loader->alias('menu'MenuFacade::class);

        
$this->app->singleton('acl', fn () => app(Acl::class));

        
$this->app->singleton('core', fn () => app(Core::class));

        
$this->app->singleton('system_config', fn () => app()->make(SystemConfig::class));

        
$this->app->singleton('menu', fn () => app()->make(Menu::class));
    }

    
/**
     * Register the console commands of this package.
     */
    
protected function registerCommands(): void
    
{
        if (
$this->app->runningInConsole()) {
            
$this->commands([
                
Version::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.0054 ]--