__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.148: ~ $
<?php
namespace Aws\S3;

use Aws\CommandInterface;
use Psr\Http\Message\RequestInterface;

/**
 * Simplifies the SSE-C process by encoding and hashing the key.
 * @internal
 */
class SSECMiddleware
{
    private $endpointScheme;
    private $nextHandler;

    /**
     * Provide the URI scheme of the client sending requests.
     *
     * @param string $endpointScheme URI scheme (http/https).
     *
     * @return callable
     */
    public static function wrap($endpointScheme)
    {
        return function (callable $handler) use ($endpointScheme) {
            return new self($endpointScheme, $handler);
        };
    }

    public function __construct($endpointScheme, callable $nextHandler)
    {
        $this->nextHandler = $nextHandler;
        $this->endpointScheme = $endpointScheme;
    }

    public function __invoke(
        CommandInterface $command,
        RequestInterface $request = null
    ) {
        // Allows only HTTPS connections when using SSE-C
        if (($command['SSECustomerKey'] || $command['CopySourceSSECustomerKey'])
            && $this->endpointScheme !== 'https'
        ) {
            throw new \RuntimeException('You must configure your S3 client to '
                . 'use HTTPS in order to use the SSE-C features.');
        }

        // Prepare the normal SSE-CPK headers
        if ($command['SSECustomerKey']) {
            $this->prepareSseParams($command);
        }

        // If it's a copy operation, prepare the SSE-CPK headers for the source.
        if ($command['CopySourceSSECustomerKey']) {
            $this->prepareSseParams($command, 'CopySource');
        }

        $f = $this->nextHandler;
        return $f($command, $request);
    }

    private function prepareSseParams(CommandInterface $command, $prefix = '')
    {
        // Base64 encode the provided key
        $key = $command[$prefix . 'SSECustomerKey'];
        $command[$prefix . 'SSECustomerKey'] = base64_encode($key);

        // Base64 the provided MD5 or, generate an MD5 if not provided
        if ($md5 = $command[$prefix . 'SSECustomerKeyMD5']) {
            $command[$prefix . 'SSECustomerKeyMD5'] = base64_encode($md5);
        } else {
            $command[$prefix . 'SSECustomerKeyMD5'] = base64_encode(md5($key, true));
        }
    }
}

Filemanager

Name Type Size Permission Actions
Crypto Folder 0755
Exception Folder 0755
RegionalEndpoint Folder 0755
UseArnRegion Folder 0755
AmbiguousSuccessParser.php File 2.23 KB 0644
ApplyChecksumMiddleware.php File 4.83 KB 0644
BatchDelete.php File 7.49 KB 0644
BucketEndpointArnMiddleware.php File 13.69 KB 0644
BucketEndpointMiddleware.php File 3.32 KB 0644
CalculatesChecksumTrait.php File 1.8 KB 0644
EndpointRegionHelperTrait.php File 3.15 KB 0644
GetBucketLocationParser.php File 1.29 KB 0644
MultipartCopy.php File 8.83 KB 0644
MultipartUploader.php File 6.13 KB 0644
MultipartUploadingTrait.php File 4.11 KB 0644
ObjectCopier.php File 5.82 KB 0644
ObjectUploader.php File 5.37 KB 0644
PermanentRedirectMiddleware.php File 1.7 KB 0644
PostObject.php File 3.83 KB 0644
PostObjectV4.php File 5.3 KB 0644
PutObjectUrlMiddleware.php File 1.55 KB 0644
RetryableMalformedResponseParser.php File 1.42 KB 0644
S3Client.php File 51.1 KB 0644
S3ClientInterface.php File 14.11 KB 0644
S3ClientTrait.php File 10.17 KB 0644
S3EndpointMiddleware.php File 11.05 KB 0644
S3MultiRegionClient.php File 19.6 KB 0644
S3UriParser.php File 4.91 KB 0644
SSECMiddleware.php File 2.24 KB 0644
StreamWrapper.php File 30.7 KB 0644
Transfer.php File 15.15 KB 0644
ValidateResponseChecksumParser.php File 5.09 KB 0644
Filemanager