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 : SifarisReceipt.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class SifarisReceipt extends Model { protected $table = 'sifaris_receipts'; protected $guarded = ['id']; protected $appends = ['receipt_number_str','created_at_str', 'created_at_elapsed', 'updated_at_str', 'updated_at_elapsed']; protected static function boot() { parent::boot(); static::creating(function ($model) { $model->created_by = adminUserId(); }); static::updating(function ($model) { $model->updated_by = adminUserId(); }); } public function getReceiptNumberStrAttribute() { $ret = ''; $number = str_pad($this->receipt_number,5,'0',STR_PAD_LEFT); // dd($number); if($this->fiscal_year) $ret =$this->fiscal_year->code.'-'; if($this->office) $ret.=$this->office->office_number; return $ret.'-'.$number; } public function getCreatedAtStrAttribute() { return dateFormat($this->created_at); } public function getCreatedAtElapsedAttribute() { return time_elapsed_string($this->created_at); } public function getUpdatedAtStrAttribute() { return dateFormat($this->created_at); } public function getUpdatedAtElapsedAttribute() { return time_elapsed_string($this->created_at); } public function creator() { return $this->belongsTo(AdminUser::class, 'created_by'); } public function updater() { return $this->belongsTo(AdminUser::class, 'updated_by'); } public function sifaris_form() { return $this->belongsTo(SifarisForm::class, 'sifaris_form_id'); } public function sifaris() { return $this->hasOne(SifarisRecord::class, 'receipt_id'); } public function fiscal_year() { return $this->belongsTo(FiscalYear::class, 'fiscal_id'); } public function office() { return $this->belongsTo(Office::class, 'office_id'); } }
Close