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/Test/Mock/   drwxr-xr-x
Free 3429.77 GB of 4265.01 GB (80.42%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     MockLogger.php (3.84 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\Test\Mock;

use 
Tests\Support\Log\Handlers\TestHandler;

class 
MockLogger
{
    
/*
      |--------------------------------------------------------------------------
      | Error Logging Threshold
      |--------------------------------------------------------------------------
      |
      | You can enable error logging by setting a threshold over zero. The
      | threshold determines what gets logged. Any values below or equal to the
      | threshold will be logged. Threshold options are:
      |
      |    0 = Disables logging, Error logging TURNED OFF
      |    1 = Emergency Messages  - System is unusable
      |    2 = Alert Messages      - Action Must Be Taken Immediately
      |   3 = Critical Messages   - Application component unavailable, unexpected exception.
      |   4 = Runtime Errors      - Don't need immediate action, but should be monitored.
      |   5 = Warnings            - Exceptional occurrences that are not errors.
      |   6 = Notices             - Normal but significant events.
      |   7 = Info                - Interesting events, like user logging in, etc.
      |   8 = Debug               - Detailed debug information.
      |   9 = All Messages
      |
      | You can also pass an array with threshold levels to show individual error types
      |
      |     array(1, 2, 3, 8) = Emergency, Alert, Critical, and Debug messages
      |
      | For a live site you'll usually enable Critical or higher (3) to be logged otherwise
      | your log files will fill up very fast.
      |
     */

    
public $threshold 9;

    
/*
      |--------------------------------------------------------------------------
      | Date Format for Logs
      |--------------------------------------------------------------------------
      |
      | Each item that is logged has an associated date. You can use PHP date
      | codes to set your own date formatting
      |
     */
    
public $dateFormat 'Y-m-d';

    
/*
      |--------------------------------------------------------------------------
      | Log Handlers
      |--------------------------------------------------------------------------
      |
      | The logging system supports multiple actions to be taken when something
      | is logged. This is done by allowing for multiple Handlers, special classes
      | designed to write the log to their chosen destinations, whether that is
      | a file on the getServer, a cloud-based service, or even taking actions such
      | as emailing the dev team.
      |
      | Each handler is defined by the class name used for that handler, and it
      | MUST implement the CodeIgniter\Log\Handlers\HandlerInterface interface.
      |
      | The value of each key is an array of configuration items that are sent
      | to the constructor of each handler. The only required configuration item
      | is the 'handles' element, which must be an array of integer log levels.
      | This is most easily handled by using the constants defined in the
      | Psr\Log\LogLevel class.
      |
      | Handlers are executed in the order defined in this array, starting with
      | the handler on top and continuing down.
      |
     */
    
public $handlers = [
        
// File Handler
        
TestHandler::class => [
            
// The log levels that this handler will handle.
            
'handles' => [
                
'critical',
                
'alert',
                
'emergency',
                
'debug',
                
'error',
                
'info',
                
'notice',
                
'warning',
            ],

            
// Logging Directory Path
            
'path' => '',
        ],
    ];
}

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