!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/php-http/message/src/Decorator/   drwxr-xr-x
Free 13.31 GB of 57.97 GB (22.96%)
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.43 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
     *
     * @return MessageInterface
     */
    
public function getMessage()
    {
        return 
$this->message;
    }

    
/**
     * {@inheritdoc}
     */
    
public function getProtocolVersion()
    {
        return 
$this->message->getProtocolVersion();
    }

    
/**
     * {@inheritdoc}
     */
    
public function withProtocolVersion($version)
    {
        
$new = clone $this;
        
$new->message $this->message->withProtocolVersion($version);

        return 
$new;
    }

    
/**
     * {@inheritdoc}
     */
    
public function getHeaders()
    {
        return 
$this->message->getHeaders();
    }

    
/**
     * {@inheritdoc}
     */
    
public function hasHeader($header)
    {
        return 
$this->message->hasHeader($header);
    }

    
/**
     * {@inheritdoc}
     */
    
public function getHeader($header)
    {
        return 
$this->message->getHeader($header);
    }

    
/**
     * {@inheritdoc}
     */
    
public function getHeaderLine($header)
    {
        return 
$this->message->getHeaderLine($header);
    }

    
/**
     * {@inheritdoc}
     */
    
public function withHeader($header$value)
    {
        
$new = clone $this;
        
$new->message $this->message->withHeader($header$value);

        return 
$new;
    }

    
/**
     * {@inheritdoc}
     */
    
public function withAddedHeader($header$value)
    {
        
$new = clone $this;
        
$new->message $this->message->withAddedHeader($header$value);

        return 
$new;
    }

    
/**
     * {@inheritdoc}
     */
    
public function withoutHeader($header)
    {
        
$new = clone $this;
        
$new->message $this->message->withoutHeader($header);

        return 
$new;
    }

    
/**
     * {@inheritdoc}
     */
    
public function getBody()
    {
        return 
$this->message->getBody();
    }

    
/**
     * {@inheritdoc}
     */
    
public function withBody(StreamInterface $body)
    {
        
$new = clone $this;
        
$new->message $this->message->withBody($body);

        return 
$new;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0799 ]--