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 /
Http /
Controllers /
Admin /
[ HOME SHELL ]
Name
Size
Permission
Action
Spatie
[ DIR ]
drwxrwxr-x
AccessController.php
2.48
KB
-rw-rw-r--
AddressController.php
3.29
KB
-rw-rw-r--
AdminUserController.php
8.74
KB
-rw-rw-r--
AppUserController.php
8.02
KB
-rw-rw-r--
CategoryController.php
3.02
KB
-rw-rw-r--
DashboardController.php
8.02
KB
-rw-rw-r--
FiscalController.php
1.28
KB
-rw-rw-r--
GeneralController.php
682
B
-rw-rw-r--
LoginController.php
2.28
KB
-rw-rw-r--
OfficeController.php
1.35
KB
-rw-rw-r--
PriorityController.php
2.15
KB
-rw-rw-r--
ReportController.php
21.01
KB
-rw-rw-r--
SifarisFormController.php
1.43
KB
-rw-rw-r--
SifarisRecordController.php
26.6
KB
-rw-rw-r--
StatusController.php
2.25
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : PriorityController.php
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\StatusRequest; use App\Services\PriorityService; use Illuminate\Contracts\View\View; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Throwable; class PriorityController extends Controller { private $service; public function __construct(PriorityService $service) { $this->service = $service; } //return view for priorities list public function listPriorities(Request $request): View { $type_code = $request->type; $type = masterType($type_code); $save_url = route('admin.settings.priorities.save', $type_code); $delete_url = route('admin.settings.priorities.delete', $type_code); $list_url = route('admin.settings.priorities.list', $type_code); return view('admin.priorities.list', compact('type', 'save_url', 'delete_url', 'list_url')); } //api for priorities list public function list(Request $request): JsonResponse { $type_code = $request->type; $type = masterType($type_code); $filter = [ 'type_id' => $type->id ]; $statuses = $this->service->list($filter); return successResponse($statuses); } //api to add/update priority public function addPriority(StatusRequest $request) { try { $priority_id = $request->id; $data = $request->all(); $type = masterType($request->type); $data['type_id'] = $type->id; if ($priority_id) { $item = $this->service->update_priority($priority_id, $data); } else { $item = $this->service->add($data); } return successResponse(); } catch (\Throwable $th) { return failureResponse($th->getMessage()); } } public function deletePriority(Request $request) { try { $this->service->delete_priority($request->post_id); return successResponse(); } catch (Throwable $e) { return failureResponse($e->getMessage()); } } }
Close