!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/dokan/script/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/   drwxrwxrwx
Free 13.18 GB of 57.97 GB (22.75%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     HidesAttributes.php (2.72 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Database\Eloquent\Concerns;

use 
Closure;

trait 
HidesAttributes
{
    
/**
     * The attributes that should be hidden for serialization.
     *
     * @var array
     */
    
protected $hidden = [];

    
/**
     * The attributes that should be visible in serialization.
     *
     * @var array
     */
    
protected $visible = [];

    
/**
     * Get the hidden attributes for the model.
     *
     * @return array
     */
    
public function getHidden()
    {
        return 
$this->hidden;
    }

    
/**
     * Set the hidden attributes for the model.
     *
     * @param  array  $hidden
     * @return $this
     */
    
public function setHidden(array $hidden)
    {
        
$this->hidden $hidden;

        return 
$this;
    }

    
/**
     * Get the visible attributes for the model.
     *
     * @return array
     */
    
public function getVisible()
    {
        return 
$this->visible;
    }

    
/**
     * Set the visible attributes for the model.
     *
     * @param  array  $visible
     * @return $this
     */
    
public function setVisible(array $visible)
    {
        
$this->visible $visible;

        return 
$this;
    }

    
/**
     * Make the given, typically hidden, attributes visible.
     *
     * @param  array|string|null  $attributes
     * @return $this
     */
    
public function makeVisible($attributes)
    {
        
$attributes is_array($attributes) ? $attributes func_get_args();

        
$this->hidden array_diff($this->hidden$attributes);

        if (! empty(
$this->visible)) {
            
$this->visible array_merge($this->visible$attributes);
        }

        return 
$this;
    }

    
/**
     * Make the given, typically hidden, attributes visible if the given truth test passes.
     *
     * @param  bool|Closure  $condition
     * @param  array|string|null  $attributes
     * @return $this
     */
    
public function makeVisibleIf($condition$attributes)
    {
        return 
value($condition$this) ? $this->makeVisible($attributes) : $this;
    }

    
/**
     * Make the given, typically visible, attributes hidden.
     *
     * @param  array|string|null  $attributes
     * @return $this
     */
    
public function makeHidden($attributes)
    {
        
$this->hidden array_merge(
            
$this->hiddenis_array($attributes) ? $attributes func_get_args()
        );

        return 
$this;
    }

    
/**
     * Make the given, typically visible, attributes hidden if the given truth test passes.
     *
     * @param  bool|Closure  $condition
     * @param  array|string|null  $attributes
     * @return $this
     */
    
public function makeHiddenIf($condition$attributes)
    {
        return 
value($condition$this) ? $this->makeHidden($attributes) : $this;
    }
}

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