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.60
Domains :
Cant Read [ /etc/named.conf ]
User : fastear1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
fastear1 /
Game source /
core /
app /
Lib /
Delete
Unzip
Name
Size
Permission
Date
Action
Captcha.php
3.65
KB
-rw-r--r--
2024-05-09 05:39
ClientInfo.php
2.77
KB
-rw-r--r--
2024-05-09 05:39
CurlRequest.php
1.35
KB
-rw-r--r--
2024-09-25 09:17
FileManager.php
5.76
KB
-rw-r--r--
2025-06-22 13:41
FormProcessor.php
5.92
KB
-rw-r--r--
2025-03-02 11:07
GoogleAuthenticator.php
6.02
KB
-rw-r--r--
2025-05-05 11:06
Intended.php
2.11
KB
-rw-r--r--
2024-05-09 05:39
RequiredConfig.php
2.03
KB
-rw-r--r--
2025-04-22 10:58
Searchable.php
3.25
KB
-rw-r--r--
2024-05-09 05:39
SocialLogin.php
5.79
KB
-rw-r--r--
2024-05-20 14:46
UserNotificationSender.php
7.76
KB
-rw-r--r--
2025-03-02 11:23
Save
Rename
<?php namespace App\Lib; use Carbon\Carbon; use Illuminate\Validation\ValidationException; class Searchable{ public function searchable(){ return function($params, $like = true) { $search = request()->search; if (!$search) { return $this; } if (!is_array($params)) { throw new \Exception("Search parameters should be an array"); } $search = $like ? "%$search%" : $search; $this->where(function ($q) use ($params, $search) { foreach ($params as $param) { $relationData = explode(':', $param); if (@$relationData[1]) { foreach (explode(',', $relationData[1]) as $column) { if(!$relationData[0]){ continue; } $q->orWhereHas($relationData[0], function ($q) use ($column, $search) { $q->where($column, 'like', $search); }); } } else { $column = $param; $q->orWhere($column, 'LIKE', $search); } } }); return $this; }; } public function filter() { return function($params){ if (!is_array($params)) { throw new \Exception("Search parameters should be an array"); } foreach ($params as $param) { $relationData = explode(':', $param); $filters = array_keys(request()->all()); if (@$relationData[1]) { foreach (explode(',', $relationData[1]) as $column) { if (request()->$column != null) { $this->whereHas($relationData[0],function($q) use ($column, $relationData){ $q->where($column,request()->$column); }); } } }else{ $column = $param; if (in_array($column, $filters) && request()->$column != null) { if(gettype(request()->$column) =='array'){ $this->whereIn($column, request()->$column); }else{ $this->where($column, request()->$column); } } } } return $this; }; } public function dateFilter(){ return function($column = 'created_at'){ if (!request()->date) { return $this; } try{ $date = explode('-', request()->date); $startDate = Carbon::parse(trim($date[0]))->format('Y-m-d'); $endDate = @$date[1] ? Carbon::parse(trim(@$date[1]))->format('Y-m-d') : $startDate; }catch(\Exception $e){ throw ValidationException::withMessages(['error' => 'Invalid date format']); } return $this->whereDate($column, '>=', $startDate)->whereDate($column, '<=', $endDate); }; } }