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


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

namespace WP_CLI\Loggers;

use WP_CLI;

/**
 * Execution logger captures all STDOUT and STDERR writes
 */
class Execution extends Regular {

    /**
     * Captured writes to STDOUT.
     */
    public $stdout = '';

    /**
     * Captured writes to STDERR.
     */
    public $stderr = '';

    /**
     * @param bool $in_color Whether or not to Colorize strings.
     */
    public function __construct( $in_color = false ) { // phpcs:ignore Generic.CodeAnalysis.UselessOverridingMethod.Found -- Provides a default value.
        parent::__construct( $in_color );
    }

    /**
     * Similar to error( $message ), but outputs $message in a red box.
     *
     * @param array $message_lines Message to write.
     */
    public function error_multi_line( $message_lines ) {
        $message = implode( "\n", $message_lines );

        $this->write( STDERR, WP_CLI::colorize( "%RError:%n\n$message\n" ) );
        $this->write( STDERR, WP_CLI::colorize( "%R---------%n\n\n" ) );
    }

    /**
     * Write a string to a resource.
     *
     * @param resource $handle Commonly STDOUT or STDERR.
     * @param string $str Message to write.
     */
    protected function write( $handle, $str ) {
        switch ( $handle ) {
            case STDOUT:
                $this->stdout .= $str;
                break;
            case STDERR:
                $this->stderr .= $str;
                break;
        }
    }

    /**
     * Starts output buffering, using a callback to capture output from `echo`, `print`, `printf` (which write to the output buffer 'php://output' rather than STDOUT).
     */
    public function ob_start() {
        ob_start( [ $this, 'ob_start_callback' ], 1 );
    }

    /**
     * Callback for `ob_start()`.
     *
     * @param string $str String to write.
     * @return string Returns zero-length string so nothing gets written to the output buffer.
     */
    public function ob_start_callback( $str ) {
        $this->write( STDOUT, $str );
        return '';
    }

    /**
     * To match `ob_start() above. Does an `ob_end_flush()`.
     */
    public function ob_end() {
        ob_end_flush();
    }
}

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