!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/smab.picotech.app/public_html/app/Models/   drwxr-xr-x
Free 29.4 GB of 117.98 GB (24.92%)
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.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace App\Models;

use 
Illuminate\Database\Eloquent\Model;

class 
Setting extends Model
{
    protected 
$fillable = ['store_id''key''value'];
    public 
$timestamps false;
    const 
ConfigStoreImage 'config_store_image';
    const 
ConfigIconImage 'config_icon_image';
    const 
ConfigImage 'config_image';
    const 
ConfigAlertMail 'config_alert_mail';

    public static 
$imageArray = [self::ConfigStoreImage,self::ConfigIconImage,self::ConfigImage];

    public static function 
getMaxRowNumber() {
        
$maxNumber self::max('store_id');
        return 
$maxNumber == $maxNumber+1;
    }

    public static function 
setKeyValueArray($key,$value) {
        return [
          
'key' => $key,
          
'value' => $value
        
];
    }

    public static function 
getconfigAlertMailArray ($configAlertMail,$maxId) {
        
$configAlertMailArray = [];
        if(
count($configAlertMail)) {
            
$configAlertMail implode(',',$configAlertMail[Setting::ConfigAlertMail]);
            
$configAlertMailArray Setting::setKeyValueArray(Setting::ConfigAlertMail,$configAlertMail);
            
$configAlertMailArray['store_id'] = $maxId;
        }

        return 
$configAlertMailArray;
    }

    public static function 
stringToArrayConversion($configAlertMail) {
        return 
explode(','$configAlertMail);

    }


    public static function 
setInputValue($data$fieldName$returnValue '') {
        return isset(
$data[$fieldName]) ? $data[$fieldName] : $returnValue;
    }

    public static function 
deleteByStoreId($id) {
        
Setting::select('value')->where('store_id'$id)->delete();
    }
//    public function setConfigImageAttribute($value) {
//        $this->attributes['config_image'] = $value;
//    }


}

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