!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.58 GB of 879.6 GB (77.6%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace WP_CLI\Bootstrap;

/**
 * Class DefineProtectedCommands.
 *
 * Define the commands that are "protected", meaning that they shouldn't be able
 * to break due to extension code.
 *
 * @package WP_CLI\Bootstrap
 */
final class DefineProtectedCommands 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 ) {
        $commands        = $this->get_protected_commands();
        $current_command = $this->get_current_command();

        foreach ( $commands as $command ) {
            if ( 0 === strpos( $current_command, $command ) ) {
                $state->setValue( BootstrapState::IS_PROTECTED_COMMAND, true );
            }
        }

        return $state;
    }

    /**
     * Get the list of protected commands.
     *
     * @return array
     */
    private function get_protected_commands() {
        return [
            'cli info',
            'package',
        ];
    }

    /**
     * Get the current command as a string.
     *
     * @return string Current command to be executed.
     */
    private function get_current_command() {
        $runner = new RunnerInstance();

        return implode( ' ', (array) $runner()->arguments );
    }
}

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