!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:     CacheBasedSessionHandler.php (1.7 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Session;

use 
SessionHandlerInterface;
use 
Illuminate\Contracts\Cache\Repository as CacheContract;

class 
CacheBasedSessionHandler implements SessionHandlerInterface
{
    
/**
     * The cache repository instance.
     *
     * @var \Illuminate\Contracts\Cache\Repository
     */
    
protected $cache;

    
/**
     * The number of minutes to store the data in the cache.
     *
     * @var int
     */
    
protected $minutes;

    
/**
     * Create a new cache driven handler instance.
     *
     * @param  \Illuminate\Contracts\Cache\Repository  $cache
     * @param  int  $minutes
     * @return void
     */
    
public function __construct(CacheContract $cache$minutes)
    {
        
$this->cache $cache;
        
$this->minutes $minutes;
    }

    
/**
     * {@inheritdoc}
     */
    
public function open($savePath$sessionName)
    {
        return 
true;
    }

    
/**
     * {@inheritdoc}
     */
    
public function close()
    {
        return 
true;
    }

    
/**
     * {@inheritdoc}
     */
    
public function read($sessionId)
    {
        return 
$this->cache->get($sessionId'');
    }

    
/**
     * {@inheritdoc}
     */
    
public function write($sessionId$data)
    {
        return 
$this->cache->put($sessionId$data$this->minutes);
    }

    
/**
     * {@inheritdoc}
     */
    
public function destroy($sessionId)
    {
        return 
$this->cache->forget($sessionId);
    }

    
/**
     * {@inheritdoc}
     */
    
public function gc($lifetime)
    {
        return 
true;
    }

    
/**
     * Get the underlying cache repository.
     *
     * @return \Illuminate\Contracts\Cache\Repository
     */
    
public function getCache()
    {
        return 
$this->cache;
    }
}

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