!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.33 GB of 117.98 GB (24.01%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Cms.php (4.35 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 
Cms extends Model
{
    use 
HasFactory;

    protected 
$appends = ['posting_rules_background_url'];

    protected 
$guarded = [];

    public function 
getPostingRulesBackgroundUrlAttribute()
    {
        return 
is_null(! $this->posting_rules_background) ? asset($this->posting_rules_background) : asset('frontend/default_images/default_background.webp');
    }

    public function 
getTermsBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getPrivacyBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getRefundBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.jpg') : asset($value);
    }

    public function 
getAboutVideoThumbAttribute($value)
    {
        if (
$value) {
            return 
asset($value);
        }

        return 
null;
    }

    public function 
getPricingPlanBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/images/membership-hero.png') : asset($value);
    }

    public function 
getPricingPlanImageAttribute($value)
    {
        return ! 
$value asset('frontend/images/membership-trial.png') : asset($value);
    }

    public function 
getFaqBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getDashboardOverviewBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getDashboardPostAdsBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getDashboardMyAdsBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getDashboardPlanBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getDashboardAccountSettingBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getPostingRulesBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getGetMembershipBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getGetMembershipImageAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getDashboardFavoriteAdsBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getDashboardMessengerBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getBlogBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getAdsBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getContactBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

    public function 
getDefaultBackgroundAttribute($value)
    {
        return ! 
$value asset('frontend/default_images/default_background.webp') : asset($value);
    }

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

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

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

        
self::deleted(function ($model) {
            
forgetCache('cms');
        });
    }
}

:: 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.0039 ]--