Linux business57.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
Server IP : 199.188.201.191 & Your IP : 52.15.60.240
Domains :
Cant Read [ /etc/named.conf ]
User : derozboy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
derozboy /
nexus-groups.online /
app /
Channels /
Delete
Unzip
Name
Size
Permission
Date
Action
SmsMessage.php
813
B
-rw-r--r--
2021-08-25 14:13
TwilioSms.php
903
B
-rw-r--r--
2021-10-23 13:03
Save
Rename
<?php namespace App\Channels; use Illuminate\Notifications\Notification; use Twilio\Rest\Client; class TwilioSms { /** * @param $notifiable * @param Notification $notification * @throws \Twilio\Exceptions\TwilioException */ public function send($notifiable, Notification $notification) { $message = $notification->toTwilioSms($notifiable); if (get_option('enable_sms') == 0) { return; } $account_sid = get_option('twilio_account_sid'); $auth_token = get_option('twilio_auth_token'); $twilio_number = get_option('twilio_mobile_number'); $client = new Client($account_sid, $auth_token); try { $client->messages->create('+' . $message->getRecipient(), ['from' => $twilio_number, 'body' => $message->getContent()]); } catch (\Exception$e) {} } }