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


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

/**
 * Basic implementation of the AWS Credentials interface that allows callers to
 * pass in the AWS Access Key and AWS Secret Access Key in the constructor.
 */
class Credentials implements CredentialsInterface\Serializable
{
    private 
$key;
    private 
$secret;
    private 
$token;
    private 
$expires;

    
/**
     * Constructs a new BasicAWSCredentials object, with the specified AWS
     * access key and AWS secret key
     *
     * @param string $key     AWS access key ID
     * @param string $secret  AWS secret access key
     * @param string $token   Security token to use
     * @param int    $expires UNIX timestamp for when credentials expire
     */
    
public function __construct($key$secret$token null$expires null)
    {
        
$this->key trim($key);
        
$this->secret trim($secret);
        
$this->token $token;
        
$this->expires $expires;
    }

    public static function 
__set_state(array $state)
    {
        return new 
self(
            
$state['key'],
            
$state['secret'],
            
$state['token'],
            
$state['expires']
        );
    }

    public function 
getAccessKeyId()
    {
        return 
$this->key;
    }

    public function 
getSecretKey()
    {
        return 
$this->secret;
    }

    public function 
getSecurityToken()
    {
        return 
$this->token;
    }

    public function 
getExpiration()
    {
        return 
$this->expires;
    }

    public function 
isExpired()
    {
        return 
$this->expires !== null && time() >= $this->expires;
    }

    public function 
toArray()
    {
        return [
            
'key'     => $this->key,
            
'secret'  => $this->secret,
            
'token'   => $this->token,
            
'expires' => $this->expires
        
];
    }

    public function 
serialize()
    {
        return 
json_encode($this->__serialize());
    }

    public function 
unserialize($serialized)
    {
        
$data json_decode($serializedtrue);

        
$this->__unserialize($data);
    }

    public function 
__serialize()
    {
        return 
$this->toArray();
    }

    public function 
__unserialize($data)
    {
        
$this->key $data['key'];
        
$this->secret $data['secret'];
        
$this->token $data['token'];
        
$this->expires $data['expires'];
    }

    
/**
     * Internal-only. Used when IMDS is unreachable
     * or returns expires credentials.
     *
     * @internal
     */
    
public function extendExpiration() {
        
$extension mt_rand(510);
        
$this->expires time() + $extension 60;

        
$message = <<<EOT
Attempting credential expiration extension due to a credential service 
availability issue. A refresh of these credentials will be attempted again 
after 
{$extension} minutes.\n
EOT;
        
trigger_error($messageE_USER_WARNING);
    }
}

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