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.94
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
.trash /
core.1 /
app /
Http /
Middleware /
Delete
Unzip
Name
Size
Permission
Date
Action
Authenticate.php
483
B
-rw-r--r--
2023-12-27 04:45
CheckStatus.php
589
B
-rw-r--r--
2023-12-27 04:45
CheckTrialExpiry.php
875
B
-rw-r--r--
2023-12-27 04:45
DemoMiddleware.php
804
B
-rw-r--r--
2023-12-27 04:45
EncryptCookies.php
294
B
-rw-r--r--
2023-12-27 04:45
FrontendMiddleware.php
0
B
-rw-r--r--
2024-01-12 11:29
Inactive.php
460
B
-rw-r--r--
2023-12-27 04:45
KycMiddleware.php
797
B
-rw-r--r--
2023-12-27 04:45
LanguageManager.php
494
B
-rw-r--r--
2023-12-27 04:45
LoginSecurityMiddleware.php
594
B
-rw-r--r--
2023-12-27 04:45
PreventRequestsDuringMaintenance.php
353
B
-rw-r--r--
2023-12-27 04:45
RedirectIfAdmin.php
525
B
-rw-r--r--
2023-12-27 04:45
RedirectIfAuthenticated.php
734
B
-rw-r--r--
2023-12-27 04:45
RedirectIfNotAdmin.php
531
B
-rw-r--r--
2023-12-27 04:45
RedirectIfNotTenantUser.php
631
B
-rw-r--r--
2023-12-27 04:45
RedirectIfTenantUser.php
702
B
-rw-r--r--
2023-12-27 04:45
ReferCondition.php
668
B
-rw-r--r--
2023-12-27 04:45
RegistrationOff.php
652
B
-rw-r--r--
2023-12-27 04:45
SetSubDomainInEveryRoute.php
707
B
-rw-r--r--
2023-12-27 04:45
Tenant.php
363
B
-rw-r--r--
2023-12-27 04:45
TrimStrings.php
368
B
-rw-r--r--
2023-12-27 04:45
TrustHosts.php
354
B
-rw-r--r--
2023-12-27 04:45
TrustProxies.php
636
B
-rw-r--r--
2023-12-27 04:45
VerifyCsrfToken.php
372
B
-rw-r--r--
2023-12-27 04:45
WithdrawStatusCheck.php
501
B
-rw-r--r--
2023-12-27 04:45
isEmailVerified.php
3.74
KB
-rw-r--r--
2023-12-27 04:45
Save
Rename
<?php namespace App\Http\Middleware; use App\Models\GeneralSetting; use Closure; use Pnlinh\InfobipSms\Facades\InfobipSms; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\Exception; class isEmailVerified { public function handle($request, Closure $next) { $general = GeneralSetting::first(); $user = auth()->user(); if ($general->is_email_verification_on && !$user->ev) { $randomNumber = rand(0, 999999); $user->verification_code = $randomNumber; $user->save(); $data = [ 'email' => $user->email, 'subject' => 'Email Verification Code', 'message' => 'Your Account Verification Code is : ' . $randomNumber ]; if ($general->email_method == 'php') { $headers = "From: $general->sitename <$general->site_email> \r\n"; $headers .= "Reply-To: $general->sitename <$general->site_email> \r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=utf-8\r\n"; @mail($data['email'], $data['subject'], $data['message'], $headers); } else { $mail = new PHPMailer(true); try { $mail->isSMTP(); $mail->Host = $general->email_config->smtp_host; $mail->SMTPAuth = true; $mail->Username = $general->email_config->smtp_username; $mail->Password = $general->email_config->smtp_password; if ($general->email_config->smtp_encryption == 'ssl') { $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; } else { $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; } $mail->Port = $general->email_config->smtp_port; $mail->CharSet = 'UTF-8'; $mail->setFrom($general->site_email, $general->sitename); $mail->addAddress($data['email']); $mail->addReplyTo($general->site_email, $general->sitename); $mail->isHTML(true); $mail->Subject = $data['subject']; $mail->Body = $data['message']; $mail->send(); } catch (Exception $e) { throw new Exception($e); } } return redirect()->route('user.authentication.verify'); }elseif ($general->is_sms_verification_on && !$user->sv) { $calling_code = rtrim(file_get_contents('https://ipapi.co/103.100.232.0/country_calling_code/'), "0"); $randomNumber = rand(0, 999999); $user->sms_verification_code = $randomNumber; $user->save(); try { $basic = new \Nexmo\Client\Credentials\Basic(env("NEXMO_KEY"), env("NEXMO_SECRET")); $client = new \Nexmo\Client($basic); $receiverNumber = $calling_code . $user->phone; $message = 'Your SMS Verification Code is :' . $randomNumber; $message = $client->message()->send([ 'to' => $receiverNumber, 'from' => $general->sitename, 'text' => $message ]); } catch (\Throwable $th) { $notify[] = ['error','Sms Provider Credentials Not Found']; return redirect()->back()->withNotify($notify); } return redirect()->route('user.authentication.verify'); } return $next($request); } }