!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/notification/vendor/illuminate/session/   drwxr-xr-x
Free 13.03 GB of 57.97 GB (22.48%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Session;

use 
Illuminate\Support\Manager;

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 "null" session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createNullDriver()
    {
        return 
$this->buildSession(new NullSessionHandler);
    }

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

    
/**
     * Create an instance of the "cookie" session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createCookieDriver()
    {
        return 
$this->buildSession(new CookieSessionHandler(
            
$this->container->make('cookie'), $this->config->get('session.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()
    {
        
$lifetime $this->config->get('session.lifetime');

        return 
$this->buildSession(new FileSessionHandler(
            
$this->container->make('files'), $this->config->get('session.files'), $lifetime
        
));
    }

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

        
$lifetime $this->config->get('session.lifetime');

        return 
$this->buildSession(new DatabaseSessionHandler(
            
$this->getDatabaseConnection(), $table$lifetime$this->container
        
));
    }

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

        return 
$this->container->make('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 Redis session driver.
     *
     * @return \Illuminate\Session\Store
     */
    
protected function createRedisDriver()
    {
        
$handler $this->createCacheHandler('redis');

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

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

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

    
/**
     * 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)
    {
        
$store $this->config->get('session.store') ?: $driver;

        return new 
CacheBasedSessionHandler(
            clone 
$this->container->make('cache')->store($store),
            
$this->config->get('session.lifetime')
        );
    }

    
/**
     * Build the session instance.
     *
     * @param  \SessionHandlerInterface  $handler
     * @return \Illuminate\Session\Store
     */
    
protected function buildSession($handler)
    {
        return 
$this->config->get('session.encrypt')
                ? 
$this->buildEncryptedSession($handler)
                : new 
Store(
                    
$this->config->get('session.cookie'),
                    
$handler,
                    
$id null,
                    
$this->config->get('session.serialization''php')
                );
    }

    
/**
     * Build the encrypted session instance.
     *
     * @param  \SessionHandlerInterface  $handler
     * @return \Illuminate\Session\EncryptedStore
     */
    
protected function buildEncryptedSession($handler)
    {
        return new 
EncryptedStore(
            
$this->config->get('session.cookie'),
            
$handler,
            
$this->container['encrypter'],
            
$id null,
            
$this->config->get('session.serialization''php'),
        );
    }

    
/**
     * Determine if requests for the same session should wait for each to finish before executing.
     *
     * @return bool
     */
    
public function shouldBlock()
    {
        return 
$this->config->get('session.block'false);
    }

    
/**
     * Get the name of the cache store / driver that should be used to acquire session locks.
     *
     * @return string|null
     */
    
public function blockDriver()
    {
        return 
$this->config->get('session.block_store');
    }

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

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

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

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0057 ]--