!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/sms.picotech.app/public_html/vendor/predis/predis/src/Response/Iterator/   drwxr-xr-x
Free 28.64 GB of 117.98 GB (24.27%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of the Predis package.
 *
 * (c) 2009-2020 Daniele Alessandri
 * (c) 2021-2025 Till Krüss
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Predis\Response\Iterator;

use 
Countable;
use 
Iterator;
use 
Predis\Response\ResponseInterface;
use 
ReturnTypeWillChange;

/**
 * Iterator that abstracts the access to multibulk responses allowing them to be
 * consumed in a streamable fashion without keeping the whole payload in memory.
 *
 * This iterator does not support rewinding which means that the iteration, once
 * consumed, cannot be restarted.
 *
 * Always make sure that the whole iteration is consumed (or dropped) to prevent
 * protocol desynchronization issues.
 */
abstract class MultiBulkIterator implements IteratorCountableResponseInterface
{
    protected 
$current;
    protected 
$position;
    protected 
$size;

    
/**
     * @return void
     */
    
#[ReturnTypeWillChange]
    public function 
rewind()
    {
        
// NOOP
    
}

    
/**
     * @return mixed
     */
    
#[ReturnTypeWillChange]
    public function 
current()
    {
        return 
$this->current;
    }

    
/**
     * @return int|null
     */
    
#[ReturnTypeWillChange]
    public function 
key()
    {
        return 
$this->position;
    }

    
/**
     * @return void
     */
    
#[ReturnTypeWillChange]
    public function 
next()
    {
        if (++
$this->position $this->size) {
            
$this->current $this->getValue();
        }
    }

    
/**
     * @return bool
     */
    
#[ReturnTypeWillChange]
    public function 
valid()
    {
        return 
$this->position $this->size;
    }

    
/**
     * Returns the number of items comprising the whole multibulk response.
     *
     * This method should be used instead of iterator_count() to get the size of
     * the current multibulk response since the former consumes the iteration to
     * count the number of elements, but our iterators do not support rewinding.
     *
     * @return int
     */
    
#[ReturnTypeWillChange]
    public function 
count()
    {
        return 
$this->size;
    }

    
/**
     * Returns the current position of the iterator.
     *
     * @return int
     */
    
public function getPosition()
    {
        return 
$this->position;
    }

    
/**
     * {@inheritdoc}
     */
    
abstract protected function getValue();
}

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