!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/vendor/wp-cli/doctor-command/src/   drwxr-xr-x
Free 719.91 GB of 879.6 GB (81.85%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace WP_CLI\Doctor;

use WP_CLI;

abstract class Check {

    /**
     * WP-CLI hook to perform the check on.
     *
     * @var string
     */
    protected $_when = 'after_wp_load';

    /**
     * Status of this check after being run.
     *
     * Can be one of 'success', 'warning', 'error', 'incomplete'.
     *
     * @var string
     */
    protected $_status = 'incomplete';

    /**
     * Message of this check after being run.
     *
     * @var string
     */
    protected $_message = '';

    /**
     * Initialize the check.
     */
    public function __construct( $options = array() ) {

        foreach ( $options as $k => $v ) {
            // Don't permit direct access to private class vars
            if ( '_' === $k[0] ) {
                continue;
            }
            if ( ! property_exists( $this, $k ) ) {
                WP_CLI::error( "Cannot set invalid property '{$k}'." );
            }
            $this->$k = $v;
        }
    }

    /**
     * Get when the check is expected to run.
     */
    public function get_when() {
        return $this->_when;
    }

    /**
     * Set when the check is expected to run.
     *
     * @param string $when
     */
    public function set_when( $when ) {
        $this->_when = $when;
    }

    /**
     * Set the status of the check.
     *
     * @param string $status
     */
    protected function set_status( $status ) {
        $this->_status = $status;
    }

    /**
     * Set the message of the check.
     *
     * @param string $message
     */
    protected function set_message( $message ) {
        $this->_message = $message;
    }

    /**
     * Run the check.
     *
     * Because each check checks for something different, this method must be
     * subclassed. Method is expected to set $status_code and $status_message.
     */
    abstract public function run();

    /**
     * Get results of the check.
     *
     * @return array
     */
    public function get_results() {
        return array(
            'status'  => $this->_status,
            'message' => $this->_message,
        );
    }
}

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