Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.2
Cant Read [ /etc/named.conf ]
8.1.31
www-data
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
/
var /
www /
html /
sifaris /
app /
Services /
[ HOME SHELL ]
Name
Size
Permission
Action
AddressService.php
3.88
KB
-rw-rw-r--
AdminUserService.php
1.94
KB
-rw-rw-r--
AppUserService.php
1.7
KB
-rw-rw-r--
CategoryService.php
6.28
KB
-rw-rw-r--
FiscalService.php
1.13
KB
-rw-rw-r--
OfficeService.php
888
B
-rw-rw-r--
PriorityService.php
2.01
KB
-rw-rw-r--
SifarisFormService.php
994
B
-rw-rw-r--
SifarisRecordService.php
6.4
KB
-rw-rw-r--
StatusService.php
1.93
KB
-rw-rw-r--
YojanaBaseInterface.php
1.59
KB
-rw-rw-r--
YojanaBaseService.php
12.57
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : StatusService.php
<?php namespace App\Services; use App\Services\YojanaBaseInterface; use App\Services\YojanaBaseService; use App\Models\Status; use Exception; class StatusService extends YojanaBaseService implements YojanaBaseInterface { protected $model; public function __construct(Status $model) { parent::__construct($model); $this->model = $model; } public function list(array $filter): array { $query = $this->model; if (array_key_exists('type_id', $filter)) { $query = $query->where('type_id', $filter['type_id']); } $query = $query->orderBy('name'); $records = $query->paginate(maxInt()); return $records->items(); } public function add(array $data) { try { $status_data = array_only($data, ['type_id', 'code', 'name', 'is_active']); $status_data['created_by'] = adminUserId(); $status = Status::create($status_data); return $status; } catch (\Throwable $th) { throw new Exception($th); } } public function update_status($status_id, array $data): void { try { $status_data = array_only($data, ['type_id', 'code', 'name', 'is_active']); $status_data['created_by'] = adminUserId(); $status = Status::find($status_id); $status->fill($status_data)->save(); } catch (\Throwable $th) { throw new Exception($th); } } public function delete_status($status_id) { try { $status = status::find($status_id); $status->deleted_at = now(); $status->deleted_by = adminUserId(); $status->save(); } catch (\Throwable $th) { throw new Exception($th); } } public function get_name($status_id) { $item = $this->model->find($status_id); return $item ? $item->name : ''; } }
Close