���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
repositories
/
dasterang-api
/
modules
/
File
/
Models
/
Viewing: File.php
<?php namespace Modules\File\Models; use Illuminate\Database\Eloquent\Model; class File extends Model { protected $fillable = [ 'host_name', 'path_prefix', 'path', 'name', 'type', 'duration_time', 'size', 'is_private', ]; protected $appends = [ 'get_downloadable_public_file_path' ]; public const DOWNLOAD_HOST_SHEMSHETARAZ = 'shemshetaraz'; public static array $download_hosts_url = [ self::DOWNLOAD_HOST_SHEMSHETARAZ => 'https://shemshetaraz.com' ]; public function getDownloadablePublicFilePath() { if ($this->is_private) return null; return self::$download_hosts_url[$this->host_name] . '/' . $this->path_prefix . '/' . $this->path . '/' . $this->name; } public function getDownloadablePrivateFilePathAttribute() { return $this->getDownloadablePublicFilePath(); } }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa