!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/multirest.picotech.app/public_html/vendor/filp/whoops/src/Whoops/Util/   drwxr-xr-x
Free 28.41 GB of 117.98 GB (24.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Misc.php (1.94 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Whoops - php errors for cool kids
 * @author Filipe Dobreira <http://github.com/filp>
 */

namespace Whoops\Util;

class 
Misc
{
    
/**
     * Can we at this point in time send HTTP headers?
     *
     * Currently this checks if we are even serving an HTTP request,
     * as opposed to running from a command line.
     *
     * If we are serving an HTTP request, we check if it's not too late.
     *
     * @return bool
     */
    
public static function canSendHeaders()
    {
        return isset(
$_SERVER["REQUEST_URI"]) && !headers_sent();
    }

    public static function 
isAjaxRequest()
    {
        return (
            !empty(
$_SERVER['HTTP_X_REQUESTED_WITH'])
            && 
strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest');
    }

    
/**
     * Check, if possible, that this execution was triggered by a command line.
     * @return bool
     */
    
public static function isCommandLine()
    {
        return 
PHP_SAPI == 'cli';
    }

    
/**
     * Translate ErrorException code into the represented constant.
     *
     * @param int $error_code
     * @return string
     */
    
public static function translateErrorCode($error_code)
    {
        
$constants get_defined_constants(true);
        if (
array_key_exists('Core'$constants)) {
            foreach (
$constants['Core'] as $constant => $value) {
                if (
substr($constant02) == 'E_' && $value == $error_code) {
                    return 
$constant;
                }
            }
        }
        return 
"E_UNKNOWN";
    }
    
    
/**
     * Determine if an error level is fatal (halts execution)
     *
     * @param int $level
     * @return bool
     */
    
public static function isLevelFatal($level)
    {
        
$errors E_ERROR;
        
$errors |= E_PARSE;
        
$errors |= E_CORE_ERROR;
        
$errors |= E_CORE_WARNING;
        
$errors |= E_COMPILE_ERROR;
        
$errors |= E_COMPILE_WARNING;
        return (
$level $errors) > 0;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0035 ]--