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

Software: Apache. PHP/8.3.27 

uname -a: Linux pdx1-shared-a4-04 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64 

uid=6659440(dh_z2jmpm) gid=2086089(pg10499364) groups=2086089(pg10499364)  

Safe-mode: OFF (not secure)

/usr/local/wp/bundle/rmccue/requests/src/Utility/   drwxr-xr-x
Free 687 GB of 879.6 GB (78.1%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     FilteredIterator.php (2.11 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Iterator for arrays requiring filtered values
 *
 * @package Requests\Utilities
 */

namespace WpOrg\Requests\Utility;

use ArrayIterator;
use ReturnTypeWillChange;
use WpOrg\Requests\Exception\InvalidArgument;
use WpOrg\Requests\Utility\InputValidator;

/**
 * Iterator for arrays requiring filtered values
 *
 * @package Requests\Utilities
 */
final class FilteredIterator extends ArrayIterator {
    /**
     * Callback to run as a filter
     *
     * @var callable
     */
    private $callback;

    /**
     * Create a new iterator
     *
     * @param array    $data     The array or object to be iterated on.
     * @param callable $callback Callback to be called on each value
     *
     * @throws \WpOrg\Requests\Exception\InvalidArgument When the passed $data argument is not iterable.
     */
    public function __construct($data, $callback) {
        if (InputValidator::is_iterable($data) === false) {
            throw InvalidArgument::create(1, '$data', 'iterable', gettype($data));
        }

        parent::__construct($data);

        if (is_callable($callback)) {
            $this->callback = $callback;
        }
    }

    /**
     * Prevent unserialization of the object for security reasons.
     *
     * @phpcs:disable PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound
     *
     * @param array $data Restored array of data originally serialized.
     *
     * @return void
     */
    #[ReturnTypeWillChange]
    public function __unserialize($data) {}
    // phpcs:enable

    /**
     * Perform reinitialization tasks.
     *
     * Prevents a callback from being injected during unserialization of an object.
     *
     * @return void
     */
    public function __wakeup() {
        unset($this->callback);
    }

    /**
     * Get the current item's value after filtering
     *
     * @return string
     */
    #[ReturnTypeWillChange]
    public function current() {
        $value = parent::current();

        if (is_callable($this->callback)) {
            $value = call_user_func($this->callback, $value);
        }

        return $value;
    }

    /**
     * Prevent creating a PHP value from a stored representation of the object for security reasons.
     *
     * @param string $data The serialized string.
     *
     * @return void
     */
    #[ReturnTypeWillChange]
    public function unserialize($data) {}
}

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