!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/OLD_WP/wp-includes/Requests/Response/   drwxr-xr-x
Free 181.53 GB of 490.84 GB (36.98%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Headers.php (2.08 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Case-insensitive dictionary, suitable for HTTP headers
 *
 * @package Requests
 */

/**
 * Case-insensitive dictionary, suitable for HTTP headers
 *
 * @package Requests
 */
class Requests_Response_Headers extends Requests_Utility_CaseInsensitiveDictionary {
    
/**
     * Get the given header
     *
     * Unlike {@see self::getValues()}, this returns a string. If there are
     * multiple values, it concatenates them with a comma as per RFC2616.
     *
     * Avoid using this where commas may be used unquoted in values, such as
     * Set-Cookie headers.
     *
     * @param string $key
     * @return string Header value
     */
    
public function offsetGet($key) {
        
$key strtolower($key);
        if (!isset(
$this->data[$key])) {
            return 
null;
        }

        return 
$this->flatten($this->data[$key]);
    }

    
/**
     * Set the given item
     *
     * @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
     *
     * @param string $key Item name
     * @param string $value Item value
     */
    
public function offsetSet($key$value) {
        if (
$key === null) {
            throw new 
Requests_Exception('Object is a dictionary, not a list''invalidset');
        }

        
$key strtolower($key);

        if (!isset(
$this->data[$key])) {
            
$this->data[$key] = array();
        }

        
$this->data[$key][] = $value;
    }

    
/**
     * Get all values for a given header
     *
     * @param string $key
     * @return array Header values
     */
    
public function getValues($key) {
        
$key strtolower($key);
        if (!isset(
$this->data[$key])) {
            return 
null;
        }

        return 
$this->data[$key];
    }

    
/**
     * Flattens a value into a string
     *
     * Converts an array into a string by imploding values with a comma, as per
     * RFC2616's rules for folding headers.
     *
     * @param string|array $value Value to flatten
     * @return string Flattened value
     */
    
public function flatten($value) {
        if (
is_array($value)) {
            
$value implode(','$value);
        }

        return 
$value;
    }

    
/**
     * Get an iterator for the data
     *
     * Converts the internal
     * @return ArrayIterator
     */
    
public function getIterator() {
        return new 
Requests_Utility_FilteredIterator($this->data, array($this'flatten'));
    }
}

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