!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)

/uploads/script/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/   drwxr-xr-x
Free 13.34 GB of 57.97 GB (23.01%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace PhpOffice\PhpSpreadsheet\Worksheet;

use 
PhpOffice\PhpSpreadsheet\Spreadsheet;

class 
Iterator implements \Iterator
{
    
/**
     * Spreadsheet to iterate.
     *
     * @var Spreadsheet
     */
    
private $subject;

    
/**
     * Current iterator position.
     *
     * @var int
     */
    
private $position 0;

    
/**
     * Create a new worksheet iterator.
     */
    
public function __construct(Spreadsheet $subject)
    {
        
// Set subject
        
$this->subject $subject;
    }

    
/**
     * Destructor.
     */
    
public function __destruct()
    {
        
$this->subject null;
    }

    
/**
     * Rewind iterator.
     */
    
public function rewind(): void
    
{
        
$this->position 0;
    }

    
/**
     * Current Worksheet.
     *
     * @return Worksheet
     */
    
public function current()
    {
        return 
$this->subject->getSheet($this->position);
    }

    
/**
     * Current key.
     *
     * @return int
     */
    
public function key()
    {
        return 
$this->position;
    }

    
/**
     * Next value.
     */
    
public function next(): void
    
{
        ++
$this->position;
    }

    
/**
     * Are there more Worksheet instances available?
     *
     * @return bool
     */
    
public function valid()
    {
        return 
$this->position $this->subject->getSheetCount() && $this->position >= 0;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

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