Linux spg1.cloudpowerdns.com 5.14.0-611.34.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 18 05:51:10 EST 2026 x86_64
LiteSpeed
Server IP : 176.9.63.151 & Your IP : 216.73.217.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
siba91 /
core /
app /
Notify /
Delete
Unzip
Name
Size
Permission
Date
Action
Email.php
4.41
KB
-rw-r--r--
2023-11-03 02:38
Notifiable.php
127
B
-rw-r--r--
2023-11-03 02:38
Notify.php
2.73
KB
-rw-r--r--
2023-11-03 02:38
NotifyProcess.php
6.07
KB
-rw-r--r--
2023-11-03 02:38
Push.php
3.07
KB
-rw-r--r--
2023-11-03 02:38
Sms.php
1.59
KB
-rw-r--r--
2023-11-03 02:38
SmsGateway.php
3.51
KB
-rw-r--r--
2023-11-03 02:38
Save
Rename
<?php namespace App\Notify; use App\Lib\CurlRequest; use MessageBird\Client as MessageBirdClient; use MessageBird\Objects\Message; use Textmagic\Services\TextmagicRestClient; use Twilio\Rest\Client; use Vonage\Client as NexmoClient; use Vonage\Client\Credentials\Basic; use Vonage\SMS\Message\SMS; class SmsGateway{ /** * the number where the sms will send * * @var string */ public $to; /** * the name where from the sms will send * * @var string */ public $from; /** * the message which will be send * * @var string */ public $message; /** * the configuration of sms gateway * * @var object */ public $config; public function clickatell() { $message = urlencode($this->message); $api_key = $this->config->clickatell->api_key; @file_get_contents("https://platform.clickatell.com/messages/http/send?apiKey=$api_key&to=$this->to&content=$message"); } public function infobip(){ $message = urlencode($this->message); @file_get_contents("https://api.infobip.com/api/v3/sendsms/plain?user=".$this->config->infobip->username."&password=".$this->config->infobip->password."&sender=$this->from&SMSText=$message&GSM=$this->to&type=longSMS"); } public function messageBird(){ $MessageBird = new MessageBirdClient($this->config->message_bird->api_key); $Message = new Message(); $Message->originator = $this->from; $Message->recipients = array($this->to); $Message->body = $this->message; $MessageBird->messages->create($Message); } public function nexmo(){ $basic = new Basic($this->config->nexmo->api_key, $this->config->nexmo->api_secret); $client = new NexmoClient($basic); $response = $client->sms()->send( new SMS($this->to, $this->from, $this->message) ); $response->current(); } public function smsBroadcast(){ $message = urlencode($this->message); @file_get_contents("https://api.smsbroadcast.com.au/api-adv.php?username=".$this->config->sms_broadcast->username."&password=".$this->config->sms_broadcast->password."&to=$this->to&from=$this->fromName&message=$message&ref=112233&maxsplit=5&delay=15"); } public function twilio(){ $account_sid = $this->config->twilio->account_sid; $auth_token = $this->config->twilio->auth_token; $twilio_number = $this->config->twilio->from; $client = new Client($account_sid, $auth_token); $client->messages->create( '+'.$this->to, array( 'from' => $twilio_number, 'body' => $this->message ) ); } public function textMagic(){ $client = new TextmagicRestClient($this->config->text_magic->username, $this->config->text_magic->apiv2_key); $client->messages->create( array( 'text' => $this->message, 'phones' => $this->to ) ); } public function custom(){ $credential = $this->config->custom; $method = $credential->method; $shortCodes = [ '{{message}}'=>$this->message, '{{number}}'=>$this->to, ]; $body = array_combine($credential->body->name,$credential->body->value); foreach ($body as $key => $value) { $bodyData = str_replace($value,@$shortCodes[$value] ?? $value ,$value); $body[$key] = $bodyData; } $header = array_combine($credential->headers->name,$credential->headers->value); if ($method == 'get') { $credential->url.'?'.http_build_query($body); CurlRequest::curlContent($credential->url,$body,$header); }else{ CurlRequest::curlPostContent($credential->url,$body,$header); } } }