!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/aws/aws-sdk-php/src/Signature/   drwxr-xr-x
Free 13.1 GB of 57.97 GB (22.6%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/**
 * Provides signature calculation for SignatureV4.
 */
trait SignatureTrait
{
    
/** @var array Cache of previously signed values */
    
private $cache = [];

    
/** @var int Size of the hash cache */
    
private $cacheSize 0;
    
    private function 
createScope($shortDate$region$service)
    {
        return 
"$shortDate/$region/$service/aws4_request";
    }

    private function 
getSigningKey($shortDate$region$service$secretKey)
    {
        
$k $shortDate '_' $region '_' $service '_' $secretKey;

        if (!isset(
$this->cache[$k])) {
            
// Clear the cache when it reaches 50 entries
            
if (++$this->cacheSize 50) {
                
$this->cache = [];
                
$this->cacheSize 0;
            }

            
$dateKey hash_hmac(
                
'sha256',
                
$shortDate,
                
"AWS4{$secretKey}",
                
true
            
);
            
$regionKey hash_hmac('sha256'$region$dateKeytrue);
            
$serviceKey hash_hmac('sha256'$service$regionKeytrue);
            
$this->cache[$k] = hash_hmac(
                
'sha256',
                
'aws4_request',
                
$serviceKey,
                
true
            
);
        }
        return 
$this->cache[$k];
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0071 ]--