���Root Mod By V1rus_Alfa
User / IP
:
216.73.216.158
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
npln
/
vendor
/
kavenegar
/
laravel
/
src
/
Channel
/
Viewing: KavenegarChannel.php
<?php namespace Kavenegar\Laravel\Channel; use Kavenegar\KavenegarApi; use Kavenegar\Laravel\Message\KavenegarMessage; use \Kavenegar\Laravel\Facade as Kavenegar; class KavenegarChannel { /** * The Kavenegar client instance. * * @var Kavenegar\KavenegarApi */ protected $kavenegar; /** * The phone number notifications should be sent from. * * @var string */ protected $from; /** * Create a new Kavenegar channel instance. * * @param Kavenegar\KavenegarApi $kavenegar * @param string $from * @return void */ public function __construct(KavenegarApi $kavenegar, $from = null) { $this->from = $from; $this->kavenegar = $kavenegar; } /** * Send the given notification. * * @param mixed $notifiable * @param \Illuminate\Notifications\Notification $notification * @return \Kavenegar\Laravel\Message\KavenegarMessage */ public function send($notifiable, $notification) { $message = $notification->toKavenegar($notifiable); $message->to($message->to ?: $notifiable->routeNotificationFor('kavenegar', $notification)); if (!$message->to || !($message->from || $message->method)) { return; } return $message->method ? $this->verifyLookup($message) : Kavenegar::Send($message->from, $message->to, $message->content); } public function verifyLookup(KavenegarMessage $message) { $token2 = isset($message->tokens[1]) ? $message->tokens[1] : null; $token3 = isset($message->tokens[2]) ? $message->tokens[2] : null; $token10 = isset($message->tokens[3]) ? $message->tokens[3] : null; $token20 = isset($message->tokens[4]) ? $message->tokens[4] : null; return Kavenegar::VerifyLookup($message->to, $message->tokens[0], $token2, $token3, $message->method, null, $token10, $token20); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa