!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/Session/   drwxr-xr-x
Free 116.5 GB of 200.55 GB (58.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace Illuminate\Session;

use 
Illuminate\Support\Manager;
use 
Symfony\Component\HttpFoundation\Session\Storage\Handler\NullSessionHandler;

class 
SessionManager extends Manager
{
    
/**
     * Call a custom driver creator.
     *
     * @param  string  $driver
     * @return mixed
     */
    
protected function callCustomCreator($driver)
    {
        return 
$this->buildSession(parent::callCustomCreator($driver));
    }

    
/**
     * Create an instance of the "array" session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createArrayDriver()
    {
        return 
$this->buildSession(new NullSessionHandler);
    }

    
/**
     * Create an instance of the "cookie" session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createCookieDriver()
    {
        
$lifetime $this->app['config']['session.lifetime'];

        return 
$this->buildSession(new CookieSessionHandler($this->app['cookie'], $lifetime));
    }

    
/**
     * Create an instance of the file session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createFileDriver()
    {
        return 
$this->createNativeDriver();
    }

    
/**
     * Create an instance of the file session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createNativeDriver()
    {
        
$path $this->app['config']['session.files'];

        
$lifetime $this->app['config']['session.lifetime'];

        return 
$this->buildSession(new FileSessionHandler($this->app['files'], $path$lifetime));
    }

    
/**
     * Create an instance of the database session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createDatabaseDriver()
    {
        
$connection $this->getDatabaseConnection();

        
$table $this->app['config']['session.table'];

        
$lifetime $this->app['config']['session.lifetime'];

        return 
$this->buildSession(new DatabaseSessionHandler($connection$table$lifetime$this->app));
    }

    
/**
     * Create an instance of the legacy database session driver.
     *
     * @return \Illuminate\Session\Store
     *
     * @deprecated since version 5.2.
     */
    
protected function createLegacyDatabaseDriver()
    {
        
$connection $this->getDatabaseConnection();

        
$table $this->app['config']['session.table'];

        
$lifetime $this->app['config']['session.lifetime'];

        return 
$this->buildSession(new LegacyDatabaseSessionHandler($connection$table$lifetime));
    }

    
/**
     * Get the database connection for the database driver.
     *
     * @return \Illuminate\Database\Connection
     */
    
protected function getDatabaseConnection()
    {
        
$connection $this->app['config']['session.connection'];

        return 
$this->app['db']->connection($connection);
    }

    
/**
     * Create an instance of the APC session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createApcDriver()
    {
        return 
$this->createCacheBased('apc');
    }

    
/**
     * Create an instance of the Memcached session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createMemcachedDriver()
    {
        return 
$this->createCacheBased('memcached');
    }

    
/**
     * Create an instance of the Wincache session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createWincacheDriver()
    {
        return 
$this->createCacheBased('wincache');
    }

    
/**
     * Create an instance of the Redis session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createRedisDriver()
    {
        
$handler $this->createCacheHandler('redis');

        
$handler->getCache()->getStore()->setConnection($this->app['config']['session.connection']);

        return 
$this->buildSession($handler);
    }

    
/**
     * Create an instance of a cache driven driver.
     *
     * @param  string  $driver
     * @return \Illuminate\Session\Store
     */
    
protected function createCacheBased($driver)
    {
        return 
$this->buildSession($this->createCacheHandler($driver));
    }

    
/**
     * Create the cache based session handler instance.
     *
     * @param  string  $driver
     * @return \Illuminate\Session\CacheBasedSessionHandler
     */
    
protected function createCacheHandler($driver)
    {
        
$minutes $this->app['config']['session.lifetime'];

        return new 
CacheBasedSessionHandler(clone $this->app['cache']->driver($driver), $minutes);
    }

    
/**
     * Build the session instance.
     *
     * @param  \SessionHandlerInterface  $handler
     * @return \Illuminate\Session\Store
     */
    
protected function buildSession($handler)
    {
        if (
$this->app['config']['session.encrypt']) {
            return new 
EncryptedStore(
                
$this->app['config']['session.cookie'], $handler$this->app['encrypter']
            );
        } else {
            return new 
Store($this->app['config']['session.cookie'], $handler);
        }
    }

    
/**
     * Get the session configuration.
     *
     * @return array
     */
    
public function getSessionConfig()
    {
        return 
$this->app['config']['session'];
    }

    
/**
     * Get the default session driver name.
     *
     * @return string
     */
    
public function getDefaultDriver()
    {
        return 
$this->app['config']['session.driver'];
    }

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

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