!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/inventory.picotech.app/public_html/vendor/laravel/passport/src/   drwxr-xr-x
Free 28.55 GB of 117.98 GB (24.2%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Laravel\Passport;

use 
Illuminate\Database\Eloquent\Factories\HasFactory;
use 
Illuminate\Database\Eloquent\Model;
use 
Illuminate\Support\Str;
use 
Laravel\Passport\Database\Factories\ClientFactory;

class 
Client extends Model
{
    use 
HasFactory;

    
/**
     * The database table used by the model.
     *
     * @var string
     */
    
protected $table 'oauth_clients';

    
/**
     * The guarded attributes on the model.
     *
     * @var array
     */
    
protected $guarded = [];

    
/**
     * The attributes excluded from the model's JSON form.
     *
     * @var array
     */
    
protected $hidden = [
        
'secret',
    ];

    
/**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    
protected $casts = [
        
'grant_types' => 'array',
        
'personal_access_client' => 'bool',
        
'password_client' => 'bool',
        
'revoked' => 'bool',
    ];

    
/**
     * The temporary plain-text client secret.
     *
     * @var string|null
     */
    
protected $plainSecret;

    
/**
     * Bootstrap the model and its traits.
     *
     * @return void
     */
    
public static function boot()
    {
        
parent::boot();

        static::
creating(function ($model) {
            if (
config('passport.client_uuids')) {
                
$model->{$model->getKeyName()} = $model->{$model->getKeyName()} ?: (string) Str::orderedUuid();
            }
        });
    }

    
/**
     * Get the user that the client belongs to.
     *
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    
public function user()
    {
        
$provider $this->provider ?: config('auth.guards.api.provider');

        return 
$this->belongsTo(
            
config("auth.providers.{$provider}.model")
        );
    }

    
/**
     * Get all of the authentication codes for the client.
     *
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    
public function authCodes()
    {
        return 
$this->hasMany(Passport::authCodeModel(), 'client_id');
    }

    
/**
     * Get all of the tokens that belong to the client.
     *
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    
public function tokens()
    {
        return 
$this->hasMany(Passport::tokenModel(), 'client_id');
    }

    
/**
     * The temporary non-hashed client secret.
     *
     * This is only available once during the request that created the client.
     *
     * @return string|null
     */
    
public function getPlainSecretAttribute()
    {
        return 
$this->plainSecret;
    }

    
/**
     * Set the value of the secret attribute.
     *
     * @param  string|null  $value
     * @return void
     */
    
public function setSecretAttribute($value)
    {
        
$this->plainSecret $value;

        if (
is_null($value) || ! Passport::$hashesClientSecrets) {
            
$this->attributes['secret'] = $value;

            return;
        }

        
$this->attributes['secret'] = password_hash($valuePASSWORD_BCRYPT);
    }

    
/**
     * Determine if the client is a "first party" client.
     *
     * @return bool
     */
    
public function firstParty()
    {
        return 
$this->personal_access_client || $this->password_client;
    }

    
/**
     * Determine if the client should skip the authorization prompt.
     *
     * @return bool
     */
    
public function skipsAuthorization()
    {
        return 
false;
    }

    
/**
     * Determine if the client is a confidential client.
     *
     * @return bool
     */
    
public function confidential()
    {
        return ! empty(
$this->secret);
    }

    
/**
     * Get the auto-incrementing key type.
     *
     * @return string
     */
    
public function getKeyType()
    {
        return 
Passport::clientUuids() ? 'string' $this->keyType;
    }

    
/**
     * Get the value indicating whether the IDs are incrementing.
     *
     * @return bool
     */
    
public function getIncrementing()
    {
        return 
Passport::clientUuids() ? false $this->incrementing;
    }

    
/**
     * Get the current connection name for the model.
     *
     * @return string|null
     */
    
public function getConnectionName()
    {
        return 
config('passport.storage.database.connection') ?? $this->connection;
    }

    
/**
     * Create a new factory instance for the model.
     *
     * @return \Illuminate\Database\Eloquent\Factories\Factory
     */
    
public static function newFactory()
    {
        return 
ClientFactory::new();
    }
}

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