!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.77 GB of 117.98 GB (24.38%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Aws\EndpointV2;

use 
Aws\EndpointV2\Ruleset\Ruleset;
use 
Aws\Exception\UnresolvedEndpointException;
use 
Aws\LruArrayCache;

/**
 * Given a service's Ruleset and client-provided input parameters, provides
 * either an object reflecting the properties of a resolved endpoint,
 * or throws an error.
 */
class EndpointProviderV2
{
    
/** @var Ruleset */
    
private $ruleset;

    
/** @var LruArrayCache */
    
private $cache;

    public function 
__construct(array $ruleset, array $partitions)
    {
        
$this->ruleset = new Ruleset($ruleset$partitions);
        
$this->cache = new LruArrayCache(100);
    }

    
/**
     * @return Ruleset
     */
    
public function getRuleset()
    {
        return 
$this->ruleset;
    }

    
/**
     * Given a Ruleset and input parameters, determines the correct endpoint
     * or an error to be thrown for a given request.
     *
     * @return RulesetEndpoint
     * @throws UnresolvedEndpointException
     */
    
public function resolveEndpoint(array $inputParameters)
    {
        
$hashedParams $this->hashInputParameters($inputParameters);
        
$match $this->cache->get($hashedParams);

        if (!
is_null($match)) {
            return 
$match;
        }

        
$endpoint $this->ruleset->evaluate($inputParameters);
        if (
$endpoint === false) {
            throw new 
UnresolvedEndpointException(
                
'Unable to resolve an endpoint using the provider arguments: '
                
json_encode($inputParameters)
            );
        }
        
$this->cache->set($hashedParams$endpoint);

        return 
$endpoint;
    }

    private function 
hashInputParameters($inputParameters)
    {
        return 
md5(serialize($inputParameters));
    }
}

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