0xsec Shell
0xSec


Server : LiteSpeed
System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : rahcos ( 1533)
PHP Version : 8.4.23
Disable Function : NONE
Directory :  /usr/local/lsws/add-ons/webcachemgr/src/Context/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/lsws/add-ons/webcachemgr/src/Context/UserCLIContextOption.php
<?php

/* * ******************************************
 * LiteSpeed Web Server Cache Manager
 * @Author: LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
 * @Copyright: (c) 2018-2019
 * ******************************************* */

namespace Lsc\Wp\Context;

use \Lsc\Wp\Context\ContextOption;
use \Lsc\Wp\Logger;

class UserCLIContextOption extends ContextOption
{

    public function __construct( $invokerName )
    {
        $invokerType = parent::FROM_CLI;
        $isRoot = parent::IS_NOT_ROOT;

        /**
         * Do not change log levels as it will break UserCommand output format.
         */
        $logFileLvl = Logger::L_NONE;
        $logEchoLvl = Logger::L_NONE;

        $bufferedWrite = false;
        $bufferedEcho = false;
        parent::__construct($invokerName, $invokerType, $isRoot, $logFileLvl,
                $logEchoLvl, $bufferedWrite, $bufferedEcho);

        $this->expectedPermissions = self::IS_NOT_ROOT;
        $this->scanDepth = 2;
        $this->batchTimeout = 0;
        $this->batchSize = 0;
        $this->logFile = '';
    }

}

c0oded By c0rpz